mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Code quality improvements for KNX integration (#60024)
This commit is contained in:
parent
25f491ad16
commit
1d63ae8696
@ -542,16 +542,12 @@ omit =
|
|||||||
homeassistant/components/kiwi/lock.py
|
homeassistant/components/kiwi/lock.py
|
||||||
homeassistant/components/knx/__init__.py
|
homeassistant/components/knx/__init__.py
|
||||||
homeassistant/components/knx/climate.py
|
homeassistant/components/knx/climate.py
|
||||||
homeassistant/components/knx/const.py
|
|
||||||
homeassistant/components/knx/cover.py
|
homeassistant/components/knx/cover.py
|
||||||
homeassistant/components/knx/expose.py
|
homeassistant/components/knx/expose.py
|
||||||
homeassistant/components/knx/knx_entity.py
|
homeassistant/components/knx/knx_entity.py
|
||||||
homeassistant/components/knx/light.py
|
homeassistant/components/knx/light.py
|
||||||
homeassistant/components/knx/notify.py
|
homeassistant/components/knx/notify.py
|
||||||
homeassistant/components/knx/scene.py
|
|
||||||
homeassistant/components/knx/schema.py
|
homeassistant/components/knx/schema.py
|
||||||
homeassistant/components/knx/switch.py
|
|
||||||
homeassistant/components/knx/weather.py
|
|
||||||
homeassistant/components/kodi/__init__.py
|
homeassistant/components/kodi/__init__.py
|
||||||
homeassistant/components/kodi/browse_media.py
|
homeassistant/components/kodi/browse_media.py
|
||||||
homeassistant/components/kodi/const.py
|
homeassistant/components/kodi/const.py
|
||||||
|
@ -323,9 +323,9 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
return unload_ok
|
return unload_ok
|
||||||
|
|
||||||
|
|
||||||
async def async_update_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
async def async_update_entry(hass: HomeAssistant, entry: ConfigEntry) -> None:
|
||||||
"""Update a given config entry."""
|
"""Update a given config entry."""
|
||||||
return await hass.config_entries.async_reload(entry.entry_id)
|
await hass.config_entries.async_reload(entry.entry_id)
|
||||||
|
|
||||||
|
|
||||||
class KNXModule:
|
class KNXModule:
|
||||||
|
@ -34,7 +34,6 @@ ALLOWED_IGNORE_VIOLATIONS = {
|
|||||||
("ifttt", "config_flow.py"),
|
("ifttt", "config_flow.py"),
|
||||||
("ios", "config_flow.py"),
|
("ios", "config_flow.py"),
|
||||||
("iqvia", "config_flow.py"),
|
("iqvia", "config_flow.py"),
|
||||||
("knx", "scene.py"),
|
|
||||||
("konnected", "config_flow.py"),
|
("konnected", "config_flow.py"),
|
||||||
("lcn", "scene.py"),
|
("lcn", "scene.py"),
|
||||||
("life360", "config_flow.py"),
|
("life360", "config_flow.py"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user