Add native ESPHome API binary sensor (#19371)
* Add esphomelib native API binary sensor
* Fixes
* 🚑 Lint
This commit is contained in:
parent
40d8bd43a1
commit
8c67ebc143
2 changed files with 67 additions and 1 deletions
|
@ -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__)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue