.ha_mcp/logs/mcp_usage.jsonl, automations.yaml

This commit is contained in:
Home Assistant Version Control
2026-08-02 17:08:53 +00:00
parent 11accf3476
commit e14994acdc
2 changed files with 38 additions and 1 deletions
+36 -1
View File
@@ -2017,7 +2017,42 @@
target:
entity_id: input_boolean.away_mode
data: {}
button2_double: []
button2_double:
- choose:
- conditions:
- condition: template
value_template: '{{ states(''input_text.office_lamp_previous_color'')
== '''' }}'
sequence:
- action: light.turn_on
target:
entity_id: light.office_lamp
- action: input_text.set_value
target:
entity_id: input_text.office_lamp_previous_color
data:
value: '{{ state_attr(''light.office_lamp'', ''rgb_color'') | join('','')
}}'
- action: light.turn_on
target:
entity_id: light.office_lamp
data:
rgb_color:
- 135
- 206
- 250
default:
- action: light.turn_on
target:
entity_id: light.office_lamp
data:
rgb_color: '{{ states(''input_text.office_lamp_previous_color'').split('','')
| map(''int'') | list }}'
- action: input_text.set_value
target:
entity_id: input_text.office_lamp_previous_color
data:
value: ''
button1_long_press: []
button2_long_press: []
- id: '1783972932942'