diff --git a/homeassistant/components/switcher_kis/button.py b/homeassistant/components/switcher_kis/button.py index 4a7095886fd..b787043f86c 100644 --- a/homeassistant/components/switcher_kis/button.py +++ b/homeassistant/components/switcher_kis/button.py @@ -46,7 +46,7 @@ THERMOSTAT_BUTTONS = [ press_fn=lambda api, remote: api.control_breeze_device( remote, state=DeviceState.ON, update_state=True ), - supported=lambda remote: bool(remote.on_off_type), + supported=lambda _: True, ), SwitcherThermostatButtonEntityDescription( key="assume_off", @@ -55,7 +55,7 @@ THERMOSTAT_BUTTONS = [ press_fn=lambda api, remote: api.control_breeze_device( remote, state=DeviceState.OFF, update_state=True ), - supported=lambda remote: bool(remote.on_off_type), + supported=lambda _: True, ), SwitcherThermostatButtonEntityDescription( key="vertical_swing_on", diff --git a/tests/components/switcher_kis/test_button.py b/tests/components/switcher_kis/test_button.py index c1350c0fec2..264c163e111 100644 --- a/tests/components/switcher_kis/test_button.py +++ b/tests/components/switcher_kis/test_button.py @@ -70,8 +70,6 @@ async def test_swing_button( await init_integration(hass) assert mock_bridge - assert hass.states.get(ASSUME_ON_EID) is None - assert hass.states.get(ASSUME_OFF_EID) is None assert hass.states.get(SWING_ON_EID) is not None assert hass.states.get(SWING_OFF_EID) is not None