Hi!
I have some buttons (the new button integration) that get state changes just after homeassistant boots up which triggers my automations:
LG: set 17 temp has been triggered by state of button.temperature_17_cmd`
while a true button press provides this:
LG: set 17 temp has been triggered by state of button.temperature_17_cmd by service button.press
My automation code:
- id: '1640289816502'
alias: 'LG: set 17 temp'> description: ''
trigger:
- platform: state
entity_id: button.temperature_17_cmd
condition: []
action:
- service: input_text.set_value
target:
entity_id: input_text.lg_status_helper
data:
value: 17 degrees
Is there a better way of getting real presses on my buttons?
Merry christmas!