Add native ESPHome API binary sensor (#19371)

* Add esphomelib native API binary sensor

* Fixes

* 🚑 Lint
This commit is contained in:
Otto Winter authored and GitHub committed 2018-12-17 20:40:57 +01:00
1 parent 40d8bd43a1
commit 8c67ebc143
2 files changed
+67 -1

No files matched your search

+4 -1
View File
@@ -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__)