diff --git a/homeassistant/components/bosch_shc/switch.py b/homeassistant/components/bosch_shc/switch.py index 666eb6554d9d25fd8a6af00d9bac60ca6e8b4648..aa49d873f6f3f417d75377aaf04f3a96500fec65 100644 --- a/homeassistant/components/bosch_shc/switch.py +++ b/homeassistant/components/bosch_shc/switch.py @@ -191,10 +191,6 @@ class SHCSwitch(SHCEntity, SwitchEntity): """Turn the switch off.""" setattr(self._device, self.entity_description.on_key, False) - def toggle(self, **kwargs) -> None: - """Toggle the switch.""" - setattr(self._device, self.entity_description.on_key, not self.is_on) - @property def should_poll(self) -> bool: """Switch needs polling.""" @@ -229,7 +225,3 @@ class SHCRoutingSwitch(SHCEntity, SwitchEntity): def turn_off(self, **kwargs) -> None: """Turn the switch off.""" self._device.routing = False - - def toggle(self, **kwargs) -> None: - """Toggle the switch.""" - self._device.routing = not self.is_on