Remove screenlogic from mypy ignore list (#64512)
* Adjust screenlogic * Adjust mypy_config * Adjust coordinator cast * Move cast higher up Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
ca6dd09fc2
commit
e56c64db07
4 changed files with 8 additions and 8 deletions
|
@ -37,7 +37,8 @@ def async_load_screenlogic_services(hass: HomeAssistant):
|
|||
return [
|
||||
entry_id
|
||||
for entry_id in await async_extract_config_entry_ids(hass, service_call)
|
||||
if hass.config_entries.async_get_entry(entry_id).domain == DOMAIN
|
||||
if (entry := hass.config_entries.async_get_entry(entry_id))
|
||||
and entry.domain == DOMAIN
|
||||
]
|
||||
|
||||
async def async_set_color_mode(service_call: ServiceCall) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue