Add Device and Integration Services to ISY994 (#35467)

* ISY994 Add Services

ISY994 Add support for climate platform

* Remove device registry cleanup

Remove device registry cleanup from service in favor of #35106

* ISY994 Update Services Definitions

Rename entry to config_entry_id

* Grammar corrections

Fix Typo

* Add await and lower logging per review.

* Rename to entries and remove unused device_id refs

* Fix tuple typo

* Fix Typo in strings

* Fix typo in strings
This commit is contained in:
shbatm
2020-05-11 10:58:58 -05:00
committed by GitHub
parent 0a9b373edb
commit 9eb1505aa1
13 changed files with 577 additions and 3 deletions

View File

@ -50,6 +50,7 @@ from .const import (
)
from .entity import ISYNodeEntity, ISYProgramEntity
from .helpers import migrate_old_unique_ids
from .services import async_setup_device_services
DEVICE_PARENT_REQUIRED = [
DEVICE_CLASS_OPENING,
@ -172,6 +173,7 @@ async def async_setup_entry(
await migrate_old_unique_ids(hass, BINARY_SENSOR, devices)
async_add_entities(devices)
async_setup_device_services(hass)
def _detect_device_type_and_class(node: Union[Group, Node]) -> (str, str):