Public Access
fix(ups-hid): handle wonky esp32-idf disconnect/reconnect issues with v5.3
Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
5 files changed
+179
-9
No files matched your search
@@ -225,6 +225,15 @@ namespace esphome
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Connection status for protocols
|
||||
bool is_device_connected() const {
|
||||
#ifdef USE_ESP32
|
||||
return device_connected_;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Sensor registration methods
|
||||
void register_sensor(sensor::Sensor *sens, const std::string &type);
|
||||
|
||||
Reference in new issue
Block a user