Skip to content

Commit

Permalink
Stop blocking zwave users (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 authored Oct 29, 2020
1 parent a56534f commit d2b217e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions custom_components/lock-manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,9 @@ async def _generate_package(service):
schema=vol.Schema({vol.Required(ATTR_ENTITY_ID): vol.Coerce(str),}),
)

# Load the code slot sensors if OZW is enabled
if config_entry.options[CONF_OZW]:
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(config_entry, PLATFORM)
)
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(config_entry, PLATFORM)
)

# if the use turned on the bool generate the files
if generate_package is not None:
Expand Down

0 comments on commit d2b217e

Please sign in to comment.