Skip to content

Commit

Permalink
fix: update async_setup_entry to return a boolean instead of the resu…
Browse files Browse the repository at this point in the history
…lt of async_add_entities
  • Loading branch information
jontofront committed Dec 11, 2024
1 parent b466abf commit f719b5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/econet300/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,5 @@ async def async_setup_entry(
entities.extend(create_controller_sensors(coordinator, api))
entities.extend(create_mixer_sensors(coordinator, api))

return async_add_entities(entities)
async_add_entities(entities)
return True

0 comments on commit f719b5e

Please sign in to comment.