Add setup type hints (part 3) (#63961)

* Drop return value from vesync

* Add setup type hints to netgear_lte

* Drop return value from hyperion

* Add setup type hints to opentherm_gw

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2022-01-12 12:53:50 +01:00 committed by GitHub
parent 0d58887bc0
commit ec1b45c922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 42 additions and 15 deletions

View file

@ -85,7 +85,7 @@ async def async_setup_entry(
hass: HomeAssistant,
config_entry: ConfigEntry,
async_add_entities: AddEntitiesCallback,
) -> bool:
) -> None:
"""Set up a Hyperion platform from config entry."""
entry_data = hass.data[DOMAIN][config_entry.entry_id]
@ -122,7 +122,6 @@ async def async_setup_entry(
)
listen_for_instance_updates(hass, config_entry, instance_add, instance_remove)
return True
class HyperionBaseLight(LightEntity):