Skip to content

Commit

Permalink
Merge pull request #476 from asantaga/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
msp1974 authored May 6, 2024
2 parents 53f9afd + 431b93f commit 2ef04c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/wiser/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry, async_add_entitie

if data.wiserhub.moments:
_LOGGER.debug("Setting up Moments buttons")
wiser_buttons = [
wiser_buttons.extend([
WiserMomentsButton(data, moment.id) for moment in data.wiserhub.moments.all
]
])

async_add_entities(wiser_buttons, True)

Expand Down

0 comments on commit 2ef04c7

Please sign in to comment.