automations.yaml, zigbee2mqtt/state.json
This commit is contained in:
+17
-30
@@ -3396,20 +3396,19 @@
|
||||
data: {}
|
||||
- id: '1786068561172'
|
||||
alias: 3D Printer Running - Playroom Light & Basement Heat
|
||||
description: When the 3D printer running helper turns on (print started), set the
|
||||
3D printer lights to bright white, turn on the bedroom lamp, set the basement
|
||||
to 22 degrees C, and turn on the filter. When it turns off (print ended), set
|
||||
the 3D printer lights to purple at 25% after 3 minutes, turn off the bedroom lamp
|
||||
after 10 minutes, and turn off the filter after 1 hour.
|
||||
description: When the 3D printer running helper turns on, turn on the SparkX i7
|
||||
light and the bedroom lamp, set the basement to 22 degrees C, and turn on the
|
||||
filter. When the helper turns off, turn the SparkX light off after 3 minutes,
|
||||
turn off the bedroom lamp after 10 minutes, and turn off the filter after 1 hour.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: input_boolean.3d_printer_running
|
||||
to: 'on'
|
||||
- entity_id: input_boolean.3d_printer_running
|
||||
id: printer_started
|
||||
- trigger: state
|
||||
entity_id: input_boolean.3d_printer_running
|
||||
to: 'off'
|
||||
to: 'on'
|
||||
trigger: state
|
||||
- entity_id: input_boolean.3d_printer_running
|
||||
id: printer_stopped
|
||||
to: 'off'
|
||||
trigger: state
|
||||
actions:
|
||||
- choose:
|
||||
- conditions:
|
||||
@@ -3418,24 +3417,18 @@
|
||||
sequence:
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.3d_printer_lights_local
|
||||
entity_id: light.sparkx_i7_light
|
||||
- action: light.turn_on
|
||||
data:
|
||||
brightness_pct: 100
|
||||
rgb_color:
|
||||
- 255
|
||||
- 255
|
||||
- 255
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.bedroom_lamp_2
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- action: climate.set_temperature
|
||||
data:
|
||||
hvac_mode: heat
|
||||
temperature: 22
|
||||
target:
|
||||
entity_id: climate.basement
|
||||
data:
|
||||
temperature: 22
|
||||
hvac_mode: heat
|
||||
- action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.filter
|
||||
@@ -3447,15 +3440,9 @@
|
||||
- sequence:
|
||||
- delay:
|
||||
minutes: 3
|
||||
- action: light.turn_on
|
||||
- action: light.turn_off
|
||||
target:
|
||||
entity_id: light.3d_printer_lights_local
|
||||
data:
|
||||
brightness_pct: 25
|
||||
rgb_color:
|
||||
- 128
|
||||
- 0
|
||||
- 128
|
||||
entity_id: light.sparkx_i7_light
|
||||
- delay:
|
||||
minutes: 7
|
||||
- action: light.turn_off
|
||||
|
||||
+26
-26
@@ -4,10 +4,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.6,
|
||||
"voltage": 120.5,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.11,
|
||||
"power_factor": 0.14,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -22,15 +22,15 @@
|
||||
},
|
||||
"0xffffb40e0607af27": {
|
||||
"state": "ON",
|
||||
"voltage": 120.3,
|
||||
"voltage": 114.5,
|
||||
"ac_frequency": 60,
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 1.9,
|
||||
"current": 0.09,
|
||||
"energy": 46.34,
|
||||
"power_factor": 0.17,
|
||||
"power": 16.4,
|
||||
"current": 2.01,
|
||||
"energy": 46.38,
|
||||
"power_factor": 0.04,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120,
|
||||
"voltage": 119.8,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 90.41,
|
||||
"power_factor": 0.9,
|
||||
"energy": 90.42,
|
||||
"power_factor": 0.2,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,13 +58,13 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 120,
|
||||
"power": 86.8,
|
||||
"power": 84,
|
||||
"current": 0.84,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
"battery": 100,
|
||||
"contact": true,
|
||||
"contact": false,
|
||||
"tamper": false,
|
||||
"battery_low": false,
|
||||
"linkquality": 120,
|
||||
@@ -74,13 +74,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 119.3,
|
||||
"voltage": 118.5,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 184.59,
|
||||
"power": 95.7,
|
||||
"current": 0.86,
|
||||
"power_factor": 0.94,
|
||||
"energy": 184.61,
|
||||
"power": 102.8,
|
||||
"current": 0.95,
|
||||
"power_factor": 0.93,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -95,13 +95,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 120.1,
|
||||
"energy": 91.63,
|
||||
"voltage": 120.2,
|
||||
"energy": 91.65,
|
||||
"state": "ON",
|
||||
"power": 48.6,
|
||||
"current": 0.51,
|
||||
"power": 63.5,
|
||||
"current": 0.66,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.79,
|
||||
"power_factor": 0.75,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 120.3,
|
||||
"voltage": 119.9,
|
||||
"ac_frequency": 60,
|
||||
"energy": 12.14,
|
||||
"current": 0.01,
|
||||
@@ -142,8 +142,8 @@
|
||||
"state": "ON",
|
||||
"current": 0.02,
|
||||
"ac_frequency": 60,
|
||||
"power": 0.3,
|
||||
"power_factor": 0.2,
|
||||
"power": 0.4,
|
||||
"power_factor": 0.15,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -171,7 +171,7 @@
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
"battery": 100,
|
||||
"temperature": 24,
|
||||
"temperature": 24.1,
|
||||
"temperature_units": "celsius",
|
||||
"temperature_calibration": 0,
|
||||
"update": {
|
||||
|
||||
Reference in New Issue
Block a user