mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Address late review of Switcher button (#82981)
This commit is contained in:
parent
f180f15bde
commit
cd2bb292ab
@ -16,7 +16,7 @@ from aioswitcher.device import DeviceCategory
|
||||
|
||||
from homeassistant.components.button import ButtonEntity, ButtonEntityDescription
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
from homeassistant.helpers import device_registry
|
||||
from homeassistant.helpers.dispatcher import async_dispatcher_connect
|
||||
@ -93,7 +93,6 @@ async def async_setup_entry(
|
||||
) -> None:
|
||||
"""Set up Switcher button from config entry."""
|
||||
|
||||
@callback
|
||||
async def async_add_buttons(coordinator: SwitcherDataUpdateCoordinator) -> None:
|
||||
"""Get remote and add button from Switcher device."""
|
||||
if coordinator.data.device_type.category == DeviceCategory.THERMOSTAT:
|
||||
|
@ -3,7 +3,7 @@
|
||||
"name": "Switcher",
|
||||
"documentation": "https://www.home-assistant.io/integrations/switcher_kis/",
|
||||
"codeowners": ["@tomerfi", "@thecode"],
|
||||
"requirements": ["aioswitcher==3.2.0"],
|
||||
"requirements": ["aioswitcher==3.2.1"],
|
||||
"quality_scale": "platinum",
|
||||
"iot_class": "local_push",
|
||||
"config_flow": true,
|
||||
|
@ -273,7 +273,7 @@ aioslimproto==2.1.1
|
||||
aiosteamist==0.3.2
|
||||
|
||||
# homeassistant.components.switcher_kis
|
||||
aioswitcher==3.2.0
|
||||
aioswitcher==3.2.1
|
||||
|
||||
# homeassistant.components.syncthing
|
||||
aiosyncthing==0.5.1
|
||||
|
@ -248,7 +248,7 @@ aioslimproto==2.1.1
|
||||
aiosteamist==0.3.2
|
||||
|
||||
# homeassistant.components.switcher_kis
|
||||
aioswitcher==3.2.0
|
||||
aioswitcher==3.2.1
|
||||
|
||||
# homeassistant.components.syncthing
|
||||
aiosyncthing==0.5.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user