homeassistant/components/geniushub/climate.py
def hvac_action(self) -> Optional[str]:
        """Return the current running hvac operation if supported."""
        if "_state" in self._zone.data:  # only for v3 API
            if not self._zone.data["_state"].get("bIsActive"):
                return CURRENT_HVAC_OFF
            if self._zone.data["_state"].get("bOutRequestHeat"):
                return CURRENT_HVAC_HEAT
            return CURRENT_HVAC_IDLE
        return None
Return the current running hvac operation if supported.
Return the current running hvac operation if supported.
Return the current running hvac operation if supported .
def hvac_action(self) -> Optional[str]:
        if "_state" in self._zone.data:  
            if not self._zone.data["_state"].get("bIsActive"):
                return CURRENT_HVAC_OFF
            if self._zone.data["_state"].get("bOutRequestHeat"):
                return CURRENT_HVAC_HEAT
            return CURRENT_HVAC_IDLE
        return None
def hvac_action ( self ) -> Optional [ str ] : if "_state" in self . _zone . data : if not self . _zone . data [ "_state" ] . get ( "bIsActive" ) : return CURRENT_HVAC_OFF if self . _zone . data [ "_state" ] . get ( "bOutRequestHeat" ) : return CURRENT_HVAC_HEAT return CURRENT_HVAC_IDLE return None
Return the current running hvac operation if supported.
Return the current running hvac operation if supported .
"""Return the current running hvac operation if supported.""" # only for v3 API
self