Skip to content

Commit

Permalink
Update button.py logging level (#81)
Browse files Browse the repository at this point in the history
* Update button.py logging level

* Update custom_components/dyson_local/button.py

* Update custom_components/dyson_local/button.py

---------

Co-authored-by: Ben Vezzani <[email protected]>
  • Loading branch information
codyc1515 and dotvezz authored Oct 28, 2023
1 parent a605b17 commit 5b5935b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/dyson_local/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ async def async_setup_entry(
device = hass.data[DOMAIN][DATA_DEVICES][config_entry.entry_id]
name = config_entry.data[CONF_NAME]

_LOGGER.error(f"one {name}")

entities = []

if hasattr(device, "filter_life"):
_LOGGER.error(f"two {name}")
entities.append(DysonFilterResetButton(device, name))

async_add_entities(entities)
Expand Down

0 comments on commit 5b5935b

Please sign in to comment.