mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Update homeassistant/components/climate/__init__.py
Co-authored-by: Allen Porter <allen@thebends.org>
This commit is contained in:
parent
e2d9ca9cd9
commit
a117a3cba9
@ -366,7 +366,7 @@ class ClimateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
||||
The climate's on/off state can be be controlled independently
|
||||
from the hvac_action and hvac_mode if the _attr_is_on attribute is set.
|
||||
|
||||
If the _attr_is_on attrubiute is set, then return that value.
|
||||
If the _attr_is_on attribute is set, then return that value.
|
||||
Otherwise, return True if hvac_action is not None and not HVACAction.OFF.
|
||||
Return None if hvac_action is None,
|
||||
otherwise return True if hvac_mode is not HVACMode.OFF.
|
||||
|
Loading…
x
Reference in New Issue
Block a user