homeassistant/components/geniushub/climate.py
async def async_set_zone(self, **kwargs) -> None:
        """Set a new mode for this zone."""
        mode = kwargs.get(ATTR_ZONE_MODE)

        if mode == "footprint" and not self._zone._has_pir:
            raise TypeError(
                f"'{self.entity_id}' can not support footprint mode (it has no PIR)"
            )
        await self._zone.set_mode(mode)
Set a new mode for this zone.
Set a new mode for this zone.
Set a new mode for this zone .
async def async_set_zone(self, **kwargs) -> None:
        mode = kwargs.get(ATTR_ZONE_MODE)
        if mode == "footprint" and not self._zone._has_pir:
            raise TypeError(
                f"'{self.entity_id}' can not support footprint mode (it has no PIR)"
            )
        await self._zone.set_mode(mode)
async def async_set_zone ( self , ** kwargs ) -> None : mode = kwargs . get ( ATTR_ZONE_MODE ) if mode == "footprint" and not self . _zone . _has_pir : raise TypeError ( f"'{self.entity_id}' can not support footprint mode (it has no PIR)" ) await self . _zone . set_mode ( mode )
Set a new mode for this zone.
Set a new mode for this zone .
"""Set a new mode for this zone."""
self