Add native ESPHome API binary sensor (#19371)
* Add esphomelib native API binary sensor
* Fixes
* 🚑 Lint
This commit is contained in:
1 parent
40d8bd43a1
commit
8c67ebc143
2 files changed
+67
-1
No files matched your search
@@ -31,7 +31,10 @@ DISPATCHER_ON_LIST = 'esphome_{entry_id}_on_list'
|
||||
DISPATCHER_ON_DEVICE_UPDATE = 'esphome_{entry_id}_on_device_update'
|
||||
DISPATCHER_ON_STATE = 'esphome_{entry_id}_on_state'
|
||||
# The HA component types this integration supports
|
||||
HA_COMPONENTS = ['sensor']
|
||||
HA_COMPONENTS = [
|
||||
'sensor',
|
||||
'binary_sensor'
|
||||
]
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in new issue
Block a user