Add native ESPHome API binary sensor (#19371)

* Add esphomelib native API binary sensor

* Fixes

* 🚑 Lint
This commit is contained in:
Otto Winter 2018-12-17 20:40:57 +01:00 committed by GitHub
parent 40d8bd43a1
commit 8c67ebc143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 67 additions and 1 deletions

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__)