Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
FutureTense committed Oct 29, 2020
2 parents caea747 + d2b217e commit 2e0742b
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 2e0742b

Please sign in to comment.