.ha_mcp/logs/mcp_usage.jsonl, automations.yaml
This commit is contained in:
+60
-24
@@ -2147,11 +2147,17 @@
|
||||
dim_turns_lights_on: true
|
||||
- id: '1784073759556'
|
||||
alias: 'Office: Desk Lamp Meeting Alert'
|
||||
description: Flashes the desk lamp color temperature for a few seconds when a meeting
|
||||
status changes (on or off) to confirm the button press registered.
|
||||
description: Flashes the desk lamp red when meeting starts, green when it ends,
|
||||
then returns to original state.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: input_boolean.in_a_meeting
|
||||
to: 'on'
|
||||
id: meeting_on
|
||||
- trigger: state
|
||||
entity_id: input_boolean.in_a_meeting
|
||||
to: 'off'
|
||||
id: meeting_off
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.meeting_lamp_override
|
||||
@@ -2160,28 +2166,58 @@
|
||||
entity_id: input_boolean.away_mode
|
||||
state: 'off'
|
||||
actions:
|
||||
- action: scene.create
|
||||
data:
|
||||
scene_id: desk_lamp_before_alert
|
||||
snapshot_entities:
|
||||
- light.office_lamp
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.office_lamp
|
||||
data:
|
||||
brightness_pct: 100
|
||||
color_temp_kelvin: 2261
|
||||
transition: 1
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 2
|
||||
milliseconds: 0
|
||||
- action: scene.turn_on
|
||||
target:
|
||||
entity_id: scene.desk_lamp_before_alert
|
||||
data:
|
||||
transition: 1
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: meeting_on
|
||||
sequence:
|
||||
- action: scene.create
|
||||
data:
|
||||
scene_id: desk_lamp_before_alert
|
||||
snapshot_entities:
|
||||
- light.office_lamp
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.office_lamp
|
||||
data:
|
||||
brightness_pct: 100
|
||||
hs_color:
|
||||
- 0
|
||||
- 100
|
||||
transition: 0.5
|
||||
- delay:
|
||||
seconds: 1.5
|
||||
- action: scene.turn_on
|
||||
target:
|
||||
entity_id: scene.desk_lamp_before_alert
|
||||
data:
|
||||
transition: 1
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: meeting_off
|
||||
sequence:
|
||||
- action: scene.create
|
||||
data:
|
||||
scene_id: desk_lamp_before_alert
|
||||
snapshot_entities:
|
||||
- light.office_lamp
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.office_lamp
|
||||
data:
|
||||
brightness_pct: 100
|
||||
hs_color:
|
||||
- 120
|
||||
- 100
|
||||
transition: 0.5
|
||||
- delay:
|
||||
seconds: 1.5
|
||||
- action: scene.turn_on
|
||||
target:
|
||||
entity_id: scene.desk_lamp_before_alert
|
||||
data:
|
||||
transition: 1
|
||||
default: []
|
||||
mode: queued
|
||||
max: 2
|
||||
- id: '1784153893584'
|
||||
|
||||
Reference in New Issue
Block a user