Add comment for assumed trigger_type (#95432)
* Add comment for assumed tigger_type * Update homeassistant/components/climate/device_trigger.py Co-authored-by: Erik Montnemery <erik@montnemery.com> --------- Co-authored-by: Erik Montnemery <erik@montnemery.com>pull/95437/head
parent
d430e089d2
commit
8b563120b5
|
@ -142,7 +142,7 @@ async def async_attach_trigger(
|
|||
numeric_state_config[
|
||||
numeric_state_trigger.CONF_VALUE_TEMPLATE
|
||||
] = "{{ state.attributes.current_temperature }}"
|
||||
else:
|
||||
else: # trigger_type == "current_humidity_changed"
|
||||
numeric_state_config[
|
||||
numeric_state_trigger.CONF_VALUE_TEMPLATE
|
||||
] = "{{ state.attributes.current_humidity }}"
|
||||
|
|
Loading…
Reference in New Issue