original_docstring: Turn the underlying heater switch on or off.
docstring: Turn the underlying heater switch on or off.
docstring_tokens: Turn the underlying heater switch on or off .
code: async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None:
          """Turn the underlying heater switch on or off."""
          if hvac_mode == HVACMode.HEAT:
              await await_or_reraise(self.heater.turn_on())
          elif hvac_mode == HVACMode.OFF:
              await await_or_reraise(self.heater.turn_off())
          else:
              _LOGGER.warning("Unknown operation mode: %s", hvac_mode)
code_tokens: async def async_set_hvac_mode ( self , hvac_mode : HVACMode ) -> None : if hvac_mode == HVACMode . HEAT : await await_or_reraise ( self . heater . turn_on ( ) ) elif hvac_mode == HVACMode . OFF : await await_or_reraise ( self . heater . turn_off ( ) ) else : _LOGGER . warning ( "Unknown operation mode: %s" , hvac_mode )
short_docstring: Turn the underlying heater switch on or off.
short_docstring_tokens: Turn the underlying heater switch on or off .
comment: """Turn the underlying heater switch on or off."""