Skip to content

Commit

Permalink
try to get cover going
Browse files Browse the repository at this point in the history
  • Loading branch information
fiva authored and fiva committed Dec 3, 2020
1 parent b1f3828 commit 96d8699
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom_components/nhc2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ def process_sysinfo(nhc2_sysinfo):
entry, 'switch')
)

hass.async_create_task(
hass.config_entries.async_forward_entry_setup(
entry, 'cover')
)

return process_sysinfo

hass.data.setdefault(KEY_GATEWAY, {})[entry.entry_id] = coco
Expand Down

0 comments on commit 96d8699

Please sign in to comment.