2540 lines
137 KiB
JSON
2540 lines
137 KiB
JSON
[
|
|
{
|
|
"id": "'1710788675192'",
|
|
"automation": "- id: '1710788675192'\n alias: Power - Reset grid price variables at new month\n description: Resets all the variables associated with keeping track of grid company\n bill, such as max-hours, max-hours dates, variable cost sum\n trigger:\n - platform: numeric_state\n entity_id:\n - sensor.tibber_monthly_cost\n below: 0.1\n condition: []\n action:\n - service: input_number.set_value\n data:\n value: 0\n target:\n entity_id:\n - input_number.power_monthly_highest_max_hour_1\n - input_number.power_monthly_highest_max_hour_2\n - input_number.power_monthly_highest_max_hour_3\n - input_number.power_grid_monthly_variable_price\n - input_number.power_monthly_highest_max_hour_4\n - service: input_datetime.set_datetime\n target:\n entity_id:\n - input_datetime.power_monthly_highest_max_hour_1\n - input_datetime.power_monthly_highest_max_hour_2\n - input_datetime.power_monthly_highest_max_hour_3\n - input_datetime.power_monthly_highest_max_hour_4\n data:\n timestamp: '{{ now().replace(hour=0, minute=0, second=0, microsecond=0).timestamp()\n }}'\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "tibber monthly cost",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.tibber_monthly_cost",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "power monthly highest max hour 1",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.power_monthly_highest_max_hour_1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "power monthly highest max hour 2",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.power_monthly_highest_max_hour_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "power monthly highest max hour 3",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.power_monthly_highest_max_hour_3",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "power grid monthly variable price",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.power_grid_monthly_variable_price",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "power monthly highest max hour 4",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.power_monthly_highest_max_hour_4",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "power monthly highest max hour 1 datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.power_monthly_highest_max_hour_1",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "power monthly highest max hour 2 datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.power_monthly_highest_max_hour_2",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "power monthly highest max hour 3 datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.power_monthly_highest_max_hour_3",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "power monthly highest max hour 4 datetime",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.power_monthly_highest_max_hour_4",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1711099990422'",
|
|
"automation": "- id: '1711099990422'\n alias: Bedroom - Handle heated Sheet remote control on/off/up/down\n description: Controls the behavior of the heated sheet on/off/longer/shorter.\n trigger:\n - platform: state\n entity_id:\n - sensor.sheet_remote_action\n to: on-press\n id: 'on'\n - platform: state\n entity_id:\n - sensor.sheet_remote_action\n to: off-press\n id: 'off'\n - platform: state\n entity_id:\n - sensor.sheet_remote_action\n to: up-press\n id: up\n - platform: state\n entity_id:\n - sensor.sheet_remote_action\n to: down-press\n id: down\n condition: []\n action:\n - if:\n - condition: trigger\n id:\n - 'on'\n then:\n - service: script.bedroom_heated_sheet_control\n data:\n command: 'on'\n increase: 00:30:00\n - if:\n - condition: trigger\n id:\n - 'off'\n then:\n - service: script.bedroom_heated_sheet_control\n data:\n command: 'off'\n - if:\n - condition: trigger\n id:\n - up\n then:\n - service: script.bedroom_heated_sheet_control\n data:\n command: up\n increase: 00:30:00\n - if:\n - condition: trigger\n id:\n - down\n then:\n - service: script.bedroom_heated_sheet_control\n data:\n command: down\n decrease: 00:10:00\n mode: queued",
|
|
"config": [
|
|
{
|
|
"name": "sheet remote action",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.sheet_remote_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Bedroom Heated Sheet Control",
|
|
"room": "Bedroom",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.bedroom_heated_sheet_control",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1711100194488'",
|
|
"automation": "- id: '1711100194488'\n alias: Bedroom - Handle heated sheet timer start/finish\n description: ''\n trigger:\n - platform: state\n entity_id:\n - timer.heated_sheet_timer\n from: idle\n to: active\n id: starts\n - platform: state\n entity_id:\n - timer.heated_sheet_timer\n to: idle\n from: active\n id: finishes\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - starts\n sequence:\n - service: switch.turn_on\n data: {}\n target:\n entity_id: switch.plug_seasonal_heat\n alias: STARTS\n - conditions:\n - condition: trigger\n id:\n - finishes\n sequence:\n - service: switch.turn_off\n data: {}\n target:\n entity_id: switch.plug_seasonal_heat\n alias: FINISHES\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "heated sheet timer",
|
|
"room": "bedroom",
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.heated_sheet_timer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "plug seasonal heat",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.plug_seasonal_heat",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1712088086740'",
|
|
"automation": "- id: '1712088086740'\n alias: System - Daily reset & maintenance tasks\n description: Performs resets, upgrades and maintenance at a daily time set by the\n provided time-helper.\n trigger:\n - platform: time\n at: input_datetime.system_daily_reset_time\n condition: []\n action:\n - service: script.lights_reset_overrides\n data: {}\n - service: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.party_mode_enable\n - input_boolean.lights_movie_mode\n - input_boolean.lights_dining_mode\n - input_boolean.lights_cooking_mode\n - input_boolean.guest_show_wifi\n - input_boolean.select_rooms_cleaning\n data: {}\n - service: script.deselect_floorplan_room\n data: {}\n - service: input_select.select_option\n data:\n option: 'off'\n target:\n entity_id: input_select.office_mode_select\n - service: input_select.select_option\n target:\n entity_id: input_select.bathroom_mode_select\n data:\n option: 'off'\n - service: script.speakers_unjoin_all\n metadata: {}\n data: {}\n - service: input_select.select_option\n metadata: {}\n data:\n option: Living room\n target:\n entity_id: input_select.audio_speaker_select\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "system daily reset time",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.system_daily_reset_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "party mode enable",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.party_mode_enable",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights movie mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_movie_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights dining mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_dining_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights cooking mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_cooking_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest show wifi",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_show_wifi",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "select rooms cleaning",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.select_rooms_cleaning",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office mode select",
|
|
"room": "office",
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.office_mode_select",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom mode select",
|
|
"room": "bathroom",
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.bathroom_mode_select",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "audio speaker select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.audio_speaker_select",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Deselect Floorplan Room",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.deselect_floorplan_room",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Lights Reset Overrides",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.lights_reset_overrides",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Speakers Unjoin All",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.speakers_unjoin_all",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1712303592468'",
|
|
"automation": "- id: '1712303592468'\n alias: Bathroom - Handle light mode change\n description: ''\n trigger:\n - platform: state\n entity_id:\n - input_select.bathroom_mode_select\n condition: []\n action:\n - service: script.bathroom_control_light_mode\n data:\n setting: '{{ states(''input_select.bathroom_mode_select'') }}'\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bathroom mode select",
|
|
"room": "bathroom",
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.bathroom_mode_select",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Bathroom Control Light Mode",
|
|
"room": "Bathroom",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.bathroom_control_light_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1713336556278'",
|
|
"automation": "- id: '1713336556278'\n alias: Tablet charge-switch ON/OFF\n description: Turns the tablet charge-switch ON if it is below 20%, and OFF if it\n is above 80%.\n trigger:\n - alias: Below 20 pcnt\n platform: numeric_state\n entity_id:\n - sensor.lenovo_tab_m10_battery\n below: 20\n id: below-20-pcnt\n - alias: Above 80 pcnt\n platform: numeric_state\n entity_id:\n - sensor.lenovo_tab_m10_battery\n above: 80\n id: above-80-pcnt\n condition: []\n action:\n - alias: Choose switch ON or OFF\n choose:\n - conditions:\n - condition: trigger\n id:\n - below-20-pcnt\n sequence:\n - alias: Turn Tablet charge-switch ON\n type: turn_on\n device_id: 08c265c1d754ce213325346cc0b673dc\n entity_id: e014659779f203d9916e7f94a8109afb\n domain: switch\n - conditions:\n - condition: trigger\n id:\n - above-80-pcnt\n sequence:\n - alias: Turn charge-switch OFF\n type: turn_off\n device_id: 08c265c1d754ce213325346cc0b673dc\n entity_id: e014659779f203d9916e7f94a8109afb\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "lenovo tab m10 battery",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.lenovo_tab_m10_battery",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tablet charge switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "e014659779f203d9916e7f94a8109afb",
|
|
"device_id": "08c265c1d754ce213325346cc0b673dc"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1713360573726'",
|
|
"automation": "- id: '1713360573726'\n alias: Wakeup - Time triggered actions\n description: Handles all time-triggered actions associated with the wakeup rotuine\n (lights, audio, blinds etc.). Enable-toggle must be ON.\n trigger:\n - platform: time\n at: input_datetime.wakeup_light_start\n id: light-start\n - platform: time\n at: input_datetime.wakeup_alarm_time\n id: alarm\n - platform: time\n at: input_datetime.wakeup_blinds_open\n id: blinds-open\n - platform: time\n at: input_datetime.wakeup_audio_amp\n id: amplify-audio\n - platform: time\n at: input_datetime.wakeup_audio_loud\n id: audio-loud\n - platform: time\n at: input_datetime.wakeup_ends\n id: routine-ends\n condition:\n - condition: state\n entity_id: input_boolean.wakeup_alarm_active\n state: 'on'\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - light-start\n sequence:\n - service: light.turn_on\n data:\n brightness_pct: 40\n transition: 300\n target:\n entity_id: light.pendant_bedroom\n - conditions:\n - condition: trigger\n id:\n - alarm\n sequence:\n - service: light.turn_on\n data:\n brightness_pct: 100\n transition: 300\n target:\n entity_id: light.pendant_bedroom\n - conditions:\n - condition: trigger\n id:\n - blinds-open\n sequence:\n - service: cover.open_cover\n metadata: {}\n data: {}\n target:\n entity_id:\n - cover.left_blind_bedroom\n - cover.right_blind_bedroom\n - conditions:\n - condition: trigger\n id:\n - amplify-audio\n sequence:\n - if:\n - condition: state\n entity_id: media_player.sonos_bedroom\n state: playing\n then:\n - service: media_player.volume_set\n target:\n entity_id: media_player.sonos_bedroom\n data:\n volume_level: '{{ (states(''input_number.wakeup_audio_start_volume'')\n | float(0.08)) + 0.05 }}'\n - conditions:\n - condition: trigger\n id:\n - audio-loud\n sequence:\n - if:\n - condition: state\n entity_id: media_player.sonos_bedroom\n state: playing\n then:\n - service: media_player.volume_set\n data:\n volume_level: '{{ (states(''input_number.wakeup_audio_start_volume'')\n | float(0.08)) + 0.1 }}'\n target:\n entity_id: media_player.sonos_bedroom\n - conditions:\n - condition: trigger\n id:\n - routine-ends\n sequence:\n - service: cover.close_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.curtain_living\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ now().weekday() == 4 }}'\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: weekend\n target:\n entity_id: input_select.wakeup_display_time\n alias: Test if its friday\n - conditions:\n - condition: template\n value_template: '{{ now().weekday() == 6 }}'\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: weekday\n target:\n entity_id: input_select.wakeup_display_time\n alias: Test if its sunday\n - if:\n - condition: state\n entity_id: input_select.climate_season_select\n state: Warm\n then:\n - service: cover.close_cover\n metadata: {}\n data: {}\n target:\n entity_id:\n - cover.left_blind_bedroom\n - cover.right_blind_bedroom\n mode: queued\n max: 10",
|
|
"config": [
|
|
{
|
|
"name": "wakeup light start",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_light_start",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup alarm time",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_alarm_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup blinds open",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_blinds_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio amp",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_audio_amp",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio loud",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_audio_loud",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup ends",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_ends",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup alarm active",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.wakeup_alarm_active",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "pendant bedroom",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.pendant_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "left blind bedroom",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.left_blind_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "right blind bedroom",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.right_blind_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sonos bedroom",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.sonos_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio start volume",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_audio_start_volume",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "curtain living",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.curtain_living",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup display time",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.wakeup_display_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "climate season select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.climate_season_select",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1713970599927'",
|
|
"automation": "- id: '1713970599927'\n alias: Bedroom - Handle remote presses for light/alarm\n description: ''\n trigger:\n - device_id: 5030e395b732b51ea772e9b0e5554ef5\n domain: hue\n platform: device\n type: short_release\n subtype: 1\n unique_id: 0472f0bd-ccb1-4cb1-8c78-5392cf238eb8\n id: on-button\n - device_id: 5030e395b732b51ea772e9b0e5554ef5\n domain: hue\n platform: device\n type: short_release\n subtype: 2\n unique_id: 4cc3368f-f69e-4f4f-883a-00694c445a9e\n id: up-button\n - device_id: 5030e395b732b51ea772e9b0e5554ef5\n domain: hue\n platform: device\n type: short_release\n subtype: 3\n unique_id: 276caed8-8551-47e2-b62c-932b110f0920\n alias: down\n id: down-button\n - device_id: 5030e395b732b51ea772e9b0e5554ef5\n domain: hue\n platform: device\n type: short_release\n subtype: 4\n unique_id: bd0d0840-ae40-4f99-88b5-9fe2730c63cb\n id: off-button\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - on-button\n sequence:\n - service: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.pendant_bedroom\n - conditions:\n - condition: trigger\n id:\n - up-button\n sequence:\n - service: media_player.volume_up\n metadata: {}\n data: {}\n target:\n entity_id: media_player.sonos_bedroom\n - conditions:\n - condition: trigger\n id:\n - down-button\n sequence:\n - service: media_player.volume_down\n metadata: {}\n data: {}\n target:\n entity_id: media_player.sonos_bedroom\n - conditions:\n - condition: trigger\n id:\n - off-button\n sequence:\n - service: media_player.media_play_pause\n metadata: {}\n data: {}\n target:\n entity_id: media_player.sonos_bedroom\n mode: queued\n max: 10",
|
|
"config": [
|
|
{
|
|
"name": "pendant bedroom",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.pendant_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sonos bedroom",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.sonos_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom remote control",
|
|
"room": "bedroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "5030e395b732b51ea772e9b0e5554ef5"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1714376090355'",
|
|
"automation": "- id: '1714376090355'\n alias: Bedroom - Pause Sonos when light turned off\n description: ''\n trigger:\n - platform: state\n entity_id:\n - light.pendant_bedroom\n from: 'on'\n to: 'off'\n condition:\n - condition: state\n entity_id: media_player.sonos_bedroom\n state: playing\n action:\n - service: media_player.media_pause\n metadata: {}\n data: {}\n target:\n entity_id: media_player.sonos_bedroom\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "pendant bedroom",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.pendant_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sonos bedroom",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.sonos_bedroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1714643311108'",
|
|
"automation": "- id: '1714643311108'\n alias: Bedtime - Time triggered actions\n description: If automatic bedtime is toggled ON, then certain actions are automatically\n started. For winter, heated sheet is turned on 30 min ahead. Lights are automatically\n turned off.\n triggers:\n - id: sheet-preheating\n at: input_datetime.bedtime_sheet_preheating\n trigger: time\n - at: input_datetime.bedtime_curtains_close\n id: curtains-close\n trigger: time\n - at: input_datetime.bedtime_trigger_time\n id: main-trigger\n trigger: time\n - at: input_datetime.bedtime_reminder_before\n id: reminder-before\n trigger: time\n - at: input_datetime.bedtime_reminder_after\n id: reminder-after\n trigger: time\n conditions:\n - condition: state\n entity_id: input_boolean.bedtime_trigger_active\n state: 'on'\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - sheet-preheating\n sequence:\n - if:\n - condition: state\n entity_id: input_boolean.bedtime_heating_sheet_enable\n state: 'on'\n then:\n - metadata: {}\n data:\n increase: 00:50:00\n command: 'on'\n decrease: 00:10:00\n action: script.bedroom_heated_sheet_control\n - conditions:\n - condition: trigger\n id:\n - curtains-close\n sequence:\n - metadata: {}\n data: {}\n target:\n entity_id: cover.curtain_living\n action: cover.open_cover\n - conditions:\n - condition: trigger\n id:\n - main-trigger\n sequence:\n - metadata: {}\n data: {}\n target:\n entity_id: switch.string_lights_veranda\n action: switch.turn_off\n - metadata: {}\n data: {}\n target:\n entity_id: light.wall_light_veranda\n action: light.turn_off\n - conditions:\n - condition: trigger\n id:\n - reminder-before\n sequence:\n - metadata: {}\n data: {}\n action: script.bedtime_blink_lights\n - conditions:\n - condition: trigger\n id:\n - reminder-after\n sequence:\n - metadata: {}\n data: {}\n action: script.bedtime_lights_adjust_off\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "curtain living",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.curtain_living",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime sheet preheating",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_sheet_preheating",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime curtains close",
|
|
"room": "living_room",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_curtains_close",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime trigger time",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_trigger_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime reminder before",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_reminder_before",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime reminder after",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_reminder_after",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime trigger active",
|
|
"room": "bedroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.bedtime_trigger_active",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime heating sheet enable",
|
|
"room": "bedroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.bedtime_heating_sheet_enable",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "string lights veranda",
|
|
"room": "veranda",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.string_lights_veranda",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wall light veranda",
|
|
"room": "veranda",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.wall_light_veranda",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Bedroom Heated Sheet Control",
|
|
"room": "Bedroom",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.bedroom_heated_sheet_control",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1716287088981'",
|
|
"automation": "- id: '1716287088981'\n alias: Veranda lights automatic ON/OFF\n description: Lights are turned off with sunset, or at latest 22:00. Lights are turned\n off at dawn, or at latest 08:00.\n trigger:\n - platform: time\n at: sensor.veranda_lights_on_time\n id: sun-down\n - platform: time\n at: sensor.veranda_lights_off_time\n id: sun-dawn\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - sun-down\n sequence:\n - type: turn_on\n device_id: 566fe21e7b944509a9e0d09103f0bba2\n entity_id: cd7249fddd178416baa06258feb86991\n domain: switch\n - conditions:\n - condition: trigger\n id:\n - sun-dawn\n sequence:\n - type: turn_off\n device_id: 566fe21e7b944509a9e0d09103f0bba2\n entity_id: cd7249fddd178416baa06258feb86991\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "veranda lights on time",
|
|
"room": "veranda",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.veranda_lights_on_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "veranda lights off time",
|
|
"room": "veranda",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.veranda_lights_off_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "veranda lights switch",
|
|
"room": "veranda",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "cd7249fddd178416baa06258feb86991",
|
|
"device_id": "566fe21e7b944509a9e0d09103f0bba2"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1717858387784'",
|
|
"automation": "- id: '1717858387784'\n alias: Veranda - Handle remote presses L/R/MID/UP/DOWN\n description: ''\n trigger:\n - platform: state\n entity_id:\n - sensor.action_veranda_remote\n to: arrow_right_click\n id: right\n - platform: state\n entity_id:\n - sensor.action_veranda_remote\n to: arrow_left_click\n id: left\n - platform: state\n entity_id:\n - sensor.action_veranda_remote\n to: toggle\n id: middle\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - left\n sequence:\n - if:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.curtain_state_living\n state: stopped\n then:\n - service: cover.stop_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.curtain_living\n else:\n - service: cover.close_cover\n target:\n entity_id: cover.curtain_living\n data: {}\n - conditions:\n - condition: trigger\n id:\n - right\n sequence:\n - if:\n - condition: not\n conditions:\n - condition: state\n entity_id: sensor.curtain_state_living\n state: stopped\n then:\n - service: cover.stop_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.curtain_living\n else:\n - service: cover.open_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.curtain_living\n - conditions:\n - condition: trigger\n id:\n - middle\n sequence:\n - service: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.wall_light_veranda\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "curtain living",
|
|
"room": "living_room",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.curtain_living",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wall light veranda",
|
|
"room": "veranda",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.wall_light_veranda",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "action veranda remote",
|
|
"room": "veranda",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.action_veranda_remote",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "curtain state living",
|
|
"room": "living_room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.curtain_state_living",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1724167870416'",
|
|
"automation": "- id: '1724167870416'\n alias: Storage room light ON/OFF with motion/timer\n description: ''\n trigger:\n - type: motion\n platform: device\n device_id: b84fcc8638043ae4b155921ff3e1d28d\n entity_id: 83e8a6edb56e981eb53faf14879e2aa2\n domain: binary_sensor\n id: motion\n - platform: state\n entity_id:\n - timer.storage_room_light_timer\n from: active\n to: idle\n id: timer\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - motion\n sequence:\n - service: script.storage_room_light_on_auto\n metadata: {}\n data: {}\n - conditions:\n - condition: trigger\n id:\n - timer\n sequence:\n - service: script.storage_room_light_off_finish_timer\n metadata: {}\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "storage room motion sensor",
|
|
"room": "storage_room",
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "83e8a6edb56e981eb53faf14879e2aa2",
|
|
"device_id": "b84fcc8638043ae4b155921ff3e1d28d"
|
|
}
|
|
},
|
|
{
|
|
"name": "storage room light timer",
|
|
"room": "storage_room",
|
|
"type": "timer",
|
|
"id": {
|
|
"entity_id": "timer.storage_room_light_timer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Storage Room Light Off Finish Timer",
|
|
"room": "Storage Room",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.storage_room_light_off_finish_timer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Storage Room Light On Auto",
|
|
"room": "Storage Room",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.storage_room_light_on_auto",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1727439077538'",
|
|
"automation": "- id: '1727439077538'\n alias: Heating - Handle pause heating ON/OFF\n description: Handles toggling of the input_boolean pause heating\n trigger:\n - platform: state\n entity_id:\n - input_boolean.pause_heating\n from: 'off'\n to: 'on'\n id: activated\n - platform: state\n entity_id:\n - input_boolean.pause_heating\n from: 'on'\n to: 'off'\n id: deactivated\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - activated\n sequence:\n - service: climate.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - climate.floor_heat_bath\n - climate.floor_heat_toilet\n - climate.heater_bedroom\n - climate.heater_guest\n - climate.heater_kitchen\n - climate.heater_living\n - climate.heater_office\n - conditions:\n - condition: trigger\n id:\n - deactivated\n sequence:\n - service: climate.set_hvac_mode\n metadata: {}\n data:\n hvac_mode: heat\n target:\n entity_id:\n - climate.floor_heat_bath\n - climate.floor_heat_toilet\n - climate.heater_bedroom\n - climate.heater_guest\n - climate.heater_kitchen\n - climate.heater_living\n - climate.heater_office\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "pause heating",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.pause_heating",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "floor heat bath",
|
|
"room": "bathroom",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.floor_heat_bath",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "floor heat toilet",
|
|
"room": "toilet",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.floor_heat_toilet",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "heater bedroom",
|
|
"room": "bedroom",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.heater_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "heater guest",
|
|
"room": "guest_room",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.heater_guest",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "heater kitchen",
|
|
"room": "kitchen",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.heater_kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "heater living",
|
|
"room": "living_room",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.heater_living",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "heater office",
|
|
"room": "office",
|
|
"type": "climate",
|
|
"id": {
|
|
"entity_id": "climate.heater_office",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1727445980885'",
|
|
"automation": "- id: '1727445980885'\n alias: Energy - Time triggered pause heating checks\n description: Handles time-triggered checks for resetting heating pause, as well\n as timed checks to pause heating\n trigger:\n - platform: time_pattern\n minutes: '0'\n id: hour-start\n - platform: time_pattern\n minutes: '35'\n id: 35min\n - platform: time_pattern\n id: 40min\n minutes: '40'\n - platform: time_pattern\n minutes: '45'\n id: 45min\n - platform: time_pattern\n id: 50min\n minutes: '50'\n - platform: time_pattern\n minutes: '55'\n id: 55min\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - hour-start\n sequence:\n - service: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.pause_heating\n - conditions:\n - condition: and\n conditions:\n - condition: trigger\n id:\n - 40min\n - 35min\n - 45min\n - 50min\n - 55min\n - condition: template\n value_template: '{{ ( states(''sensor.tibber_energy_consumption_current_hour'')\n | float ) > state_attr(''sensor.hour_progress'', ''of_energy_level'')\n }}'\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.pause_heating\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "pause heating",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.pause_heating",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "tibber energy consumption current hour",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.tibber_energy_consumption_current_hour",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hour progress",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.hour_progress",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1729197107885'",
|
|
"automation": "- id: '1729197107885'\n alias: Cleaning - Handle select rooms ON/OFF\n description: ''\n trigger:\n - platform: state\n entity_id:\n - input_boolean.select_rooms_cleaning\n from: 'off'\n to: 'on'\n id: turned-on\n - platform: state\n entity_id:\n - input_boolean.select_rooms_cleaning\n from: 'on'\n to: 'off'\n id: turned-off\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - turned-on\n sequence:\n - service: script.deselect_floorplan_room\n metadata: {}\n data: {}\n - service: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - input_boolean.floorplan_show_icons\n - input_boolean.floorplan_bedroom_selected\n - input_boolean.floorplan_entry_selected\n - input_boolean.floorplan_guest_selected\n - input_boolean.floorplan_kitchen_selected\n - input_boolean.floorplan_living_selected\n - input_boolean.floorplan_office_selected\n - service: input_text.set_value\n metadata: {}\n data:\n value: '[]'\n target:\n entity_id: input_text.selected_room_ids_cleaning\n - conditions:\n - condition: trigger\n id:\n - turned-off\n sequence:\n - service: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - input_boolean.floorplan_bedroom_selected\n - input_boolean.floorplan_entry_selected\n - input_boolean.floorplan_guest_selected\n - input_boolean.floorplan_kitchen_selected\n - input_boolean.floorplan_living_selected\n - input_boolean.floorplan_office_selected\n - service: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.floorplan_show_icons\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "select rooms cleaning",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.select_rooms_cleaning",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "floorplan show icons",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.floorplan_show_icons",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "floorplan bedroom selected",
|
|
"room": "bedroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.floorplan_bedroom_selected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "floorplan entry selected",
|
|
"room": "entry",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.floorplan_entry_selected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "floorplan guest selected",
|
|
"room": "guest_room",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.floorplan_guest_selected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "floorplan kitchen selected",
|
|
"room": "kitchen",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.floorplan_kitchen_selected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "floorplan living selected",
|
|
"room": "living_room",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.floorplan_living_selected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "floorplan office selected",
|
|
"room": "office",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.floorplan_office_selected",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "selected room ids cleaning",
|
|
"room": null,
|
|
"type": "input_text",
|
|
"id": {
|
|
"entity_id": "input_text.selected_room_ids_cleaning",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Deselect Floorplan Room",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.deselect_floorplan_room",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1732034860357'",
|
|
"automation": "- id: '1732034860357'\n alias: Lights - Bath strip OFF when spots OFF\n description: ''\n trigger:\n - platform: state\n entity_id:\n - light.downlights_bath\n from: 'on'\n to: 'off'\n condition:\n - condition: state\n entity_id: light.lightstrip_bath\n state: 'on'\n action:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.lightstrip_bath\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "downlights bath",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.downlights_bath",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lightstrip bath",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lightstrip_bath",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1732224070644'",
|
|
"automation": "- id: '1732224070644'\n alias: Heating - Handle heater calibrations\n description: ''\n trigger:\n - platform: state\n entity_id:\n - sensor.temperature_difference_office\n id: office\n - platform: state\n entity_id:\n - sensor.temperature_difference_guest\n id: guest\n - platform: state\n entity_id:\n - sensor.temperature_difference_bedroom\n id: bedroom\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - office\n sequence:\n - delay:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n - service: number.set_value\n metadata: {}\n data:\n value: '{{ states(''sensor.temperature_difference_office'') | float(default=0)\n }}'\n target:\n entity_id: number.temperature_calibration_office\n - conditions:\n - condition: trigger\n id:\n - guest\n sequence:\n - delay:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n - service: number.set_value\n metadata: {}\n data:\n value: '{{ states(''sensor.temperature_difference_guest'') | float(default=0)\n }}'\n target:\n entity_id: number.temperature_calibration_guest\n - conditions:\n - condition: trigger\n id:\n - bedroom\n sequence:\n - delay:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n - service: number.set_value\n metadata: {}\n data:\n value: '{{ states(''sensor.temperature_difference_bedroom'') | float(default=0)\n }}'\n target:\n entity_id: number.temperature_calibration_bedroom\n mode: queued\n max: 10",
|
|
"config": [
|
|
{
|
|
"name": "temperature difference office",
|
|
"room": "office",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.temperature_difference_office",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "temperature difference guest",
|
|
"room": "guest_room",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.temperature_difference_guest",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "temperature difference bedroom",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.temperature_difference_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "temperature calibration office",
|
|
"room": "office",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.temperature_calibration_office",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "temperature calibration guest",
|
|
"room": "guest_room",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.temperature_calibration_guest",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "temperature calibration bedroom",
|
|
"room": "bedroom",
|
|
"type": "number",
|
|
"id": {
|
|
"entity_id": "number.temperature_calibration_bedroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1733252756139'",
|
|
"automation": "- id: '1733252756139'\n alias: Cleaning - Vacuum 12-00 Mon-Wed-Fri\n description: ''\n trigger:\n - platform: time\n at: '12:00:00'\n condition:\n - condition: time\n weekday:\n - mon\n - wed\n - fri\n action:\n - service: input_select.select_option\n metadata: {}\n data:\n option: 2xDeep\n target:\n entity_id: input_select.vacuum_mop_session\n - delay:\n hours: 0\n minutes: 0\n seconds: 3\n milliseconds: 0\n - service: script.robot_clean_clean_all_rooms\n metadata: {}\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "vacuum mop session",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_mop_session",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Robot Clean Clean All Rooms",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.robot_clean_clean_all_rooms",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1736011246760'",
|
|
"automation": "- id: '1736011246760'\n alias: Special - Handle vacation mode ON/OFF\n description: Reacts to changes of the input_boolean.vacation_mode_enable, handling\n both when it is turned ON (enabled) and OFF (disabled).\n trigger:\n - platform: state\n entity_id:\n - input_boolean.vacation_mode_enable\n from: 'off'\n to: 'on'\n id: enabled\n - platform: state\n entity_id:\n - input_boolean.vacation_mode_enable\n from: 'on'\n to: 'off'\n id: disabled\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - enabled\n sequence:\n - service: light.turn_off\n target:\n entity_id: light.lightstrip_closet_bedroom\n data: {}\n - service: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.guest_mode_enable\n - input_boolean.bedtime_trigger_active\n - input_boolean.wakeup_alarm_active\n data: {}\n - service: script.heating_set_mode_all_thermostats\n data:\n control_mode: Vacation\n - conditions:\n - condition: trigger\n id:\n - disabled\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id:\n - input_boolean.wakeup_alarm_active\n - input_boolean.bedtime_trigger_active\n data: {}\n - service: light.turn_on\n target:\n entity_id: light.lightstrip_closet_bedroom\n data: {}\n - if:\n - condition: template\n value_template: '{{ is_state(''input_select.climate_season_select'', ''Cold'')\n }}'\n then:\n - service: script.heating_set_warmest_mode_all_thermostats\n data: {}\n - if:\n - condition: time\n after: 09:00:00\n before: '21:30:00'\n then:\n - service: input_select.select_option\n metadata: {}\n data:\n option: 2xDeep\n target:\n entity_id: input_select.vacuum_mop_session\n else:\n - service: input_select.select_option\n metadata: {}\n data:\n option: Quiet\n target:\n entity_id: input_select.vacuum_fan_mode\n - service: script.robot_clean_clean_all_rooms\n metadata: {}\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "wakeup alarm active",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.wakeup_alarm_active",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "climate season select",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.climate_season_select",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime trigger active",
|
|
"room": "bedroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.bedtime_trigger_active",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum mop session",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_mop_session",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacation mode enable",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.vacation_mode_enable",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lightstrip closet bedroom",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lightstrip_closet_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "guest mode enable",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.guest_mode_enable",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum fan mode",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_fan_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Heating Set Mode All Thermostats",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.heating_set_mode_all_thermostats",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Heating Set Warmest Mode All Thermostats",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.heating_set_warmest_mode_all_thermostats",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Robot Clean Clean All Rooms",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.robot_clean_clean_all_rooms",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1736529421955'",
|
|
"automation": "- id: '1736529421955'\n alias: Cleaning - Handle mop session select\n description: Reacts to changes in the cleaning_mop_session input_select\n trigger:\n - platform: state\n entity_id:\n - input_select.vacuum_mop_session\n to: Vacuum\n id: vac\n - platform: state\n entity_id:\n - input_select.vacuum_mop_session\n to: Mop\n id: mop\n - platform: state\n entity_id:\n - input_select.vacuum_mop_session\n to: VacMop\n id: vacmop\n - platform: state\n entity_id:\n - input_select.vacuum_mop_session\n to: 2xDeep\n id: 2xdeep\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - mop\n sequence:\n - service: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mop_after_vacuum\n - service: script.robot_set_mop_mode\n metadata: {}\n data:\n mopping_mode: High\n mopping_route: DeepPlus\n - conditions:\n - condition: trigger\n id:\n - vacmop\n sequence:\n - service: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mop_after_vacuum\n - service: input_select.select_option\n metadata: {}\n data:\n option: Turbo\n target:\n entity_id: input_select.vacuum_fan_mode\n - service: script.robot_set_mop_mode\n metadata: {}\n data:\n mopping_mode: Medium\n mopping_route: None\n - conditions:\n - condition: trigger\n id:\n - 2xdeep\n sequence:\n - service: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mop_after_vacuum\n - service: input_select.select_option\n metadata: {}\n data:\n option: Max\n target:\n entity_id: input_select.vacuum_fan_mode\n - service: script.robot_set_mop_mode\n metadata: {}\n data:\n mopping_mode: 'Off'\n mopping_route: None\n - conditions:\n - condition: trigger\n id:\n - vac\n sequence:\n - service: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mop_after_vacuum\n - service: input_select.select_option\n metadata: {}\n data:\n option: Max\n target:\n entity_id: input_select.vacuum_fan_mode\n - service: script.robot_set_mop_mode\n metadata: {}\n data:\n mopping_mode: 'Off'\n mopping_route: None\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "vacuum mop session",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_mop_session",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum fan mode",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_fan_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mop after vacuum",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.mop_after_vacuum",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Robot Set Mop Mode",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.robot_set_mop_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1736710457472'",
|
|
"automation": "- id: '1736710457472'\n alias: Cleaning - Handle fan mode changes\n description: Handles changes to input_select that holds the fan modes for the robot\n vacuum\n trigger:\n - platform: state\n entity_id:\n - input_select.vacuum_fan_mode\n to: Quiet\n id: quiet\n - platform: state\n entity_id:\n - input_select.vacuum_fan_mode\n to: Balanced\n id: balanced\n - platform: state\n entity_id:\n - input_select.vacuum_fan_mode\n to: Turbo\n id: turbo\n - platform: state\n entity_id:\n - input_select.vacuum_fan_mode\n to: Max\n id: max\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - quiet\n sequence:\n - service: vacuum.set_fan_speed\n metadata: {}\n data:\n fan_speed: Silent\n target:\n entity_id: vacuum.esmeralda\n - conditions:\n - condition: trigger\n id:\n - balanced\n sequence:\n - service: vacuum.set_fan_speed\n metadata: {}\n data:\n fan_speed: Standard\n target:\n entity_id: vacuum.esmeralda\n - conditions:\n - condition: trigger\n id:\n - turbo\n sequence:\n - service: vacuum.set_fan_speed\n metadata: {}\n data:\n fan_speed: Medium\n target:\n entity_id: vacuum.esmeralda\n - conditions:\n - condition: trigger\n id:\n - max\n sequence:\n - service: vacuum.set_fan_speed\n metadata: {}\n data:\n fan_speed: Turbo\n target:\n entity_id: vacuum.esmeralda\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "vacuum esmeralda",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.esmeralda",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum fan mode",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_fan_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1736713687559'",
|
|
"automation": "- id: '1736713687559'\n alias: Cleaning - Handle mop ready changes\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.esmeralda_mop_ready\n from: 'on'\n to: 'off'\n id: turned-off\n - platform: state\n entity_id:\n - binary_sensor.esmeralda_mop_ready\n from: 'off'\n to: 'on'\n id: turned-on\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - turned-off\n sequence:\n - service: script.robot_set_mop_mode\n metadata: {}\n data:\n mopping_mode: 'Off'\n mopping_route: None\n - conditions:\n - condition: trigger\n id:\n - turned-on\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: VacMop\n target:\n entity_id: input_select.vacuum_mop_session\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "vacuum mop session",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.vacuum_mop_session",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "esmeralda mop ready",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.esmeralda_mop_ready",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Robot Set Mop Mode",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.robot_set_mop_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1736716190594'",
|
|
"automation": "- id: '1736716190594'\n alias: Cleaning - Handle 2x deep clean\n description: ''\n trigger:\n - platform: state\n entity_id:\n - vacuum.esmeralda\n from: returning\n to: docked\n id: returned\n condition: []\n action:\n - service: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.show_vacuum_map\n - if:\n - condition: and\n conditions:\n - condition: trigger\n id:\n - returned\n - condition: state\n entity_id: input_boolean.mop_after_vacuum\n state: 'on'\n - condition: state\n entity_id: binary_sensor.esmeralda_mop_ready\n state: 'on'\n then:\n - wait_for_trigger:\n - platform: state\n entity_id:\n - vacuum.esmeralda\n attribute: status\n to: Emptying the bin\n for:\n hours: 0\n minutes: 0\n seconds: 15\n timeout:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - service: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mop_after_vacuum\n - service: input_text.set_value\n metadata: {}\n data:\n value: 2x deep clean vac & mop\n target:\n entity_id: input_text.last_cleaning_mode\n - service: script.robot_set_mop_mode\n metadata: {}\n data:\n mopping_mode: High\n mopping_route: DeepPlus\n - delay:\n hours: 0\n minutes: 0\n seconds: 2\n milliseconds: 0\n - if:\n - condition: template\n value_template: '{{ is_state(''input_text.selected_room_ids_cleaning'', \"[]\")\n }}'\n then:\n - service: vacuum.start\n metadata: {}\n data: {}\n target:\n entity_id: vacuum.esmeralda\n else: []\n - service: xiaomi_miio.vacuum_clean_segment\n data:\n segments: '{{ states(''input_text.selected_room_ids_cleaning'') }}'\n target:\n entity_id: vacuum.esmeralda\n else: []\n - service: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.mop_after_vacuum\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "selected room ids cleaning",
|
|
"room": null,
|
|
"type": "input_text",
|
|
"id": {
|
|
"entity_id": "input_text.selected_room_ids_cleaning",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "vacuum esmeralda",
|
|
"room": null,
|
|
"type": "vacuum",
|
|
"id": {
|
|
"entity_id": "vacuum.esmeralda",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "esmeralda mop ready",
|
|
"room": null,
|
|
"type": "binary_sensor",
|
|
"id": {
|
|
"entity_id": "binary_sensor.esmeralda_mop_ready",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mop after vacuum",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.mop_after_vacuum",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "show vacuum map",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.show_vacuum_map",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "last cleaning mode",
|
|
"room": null,
|
|
"type": "input_text",
|
|
"id": {
|
|
"entity_id": "input_text.last_cleaning_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Robot Set Mop Mode",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.robot_set_mop_mode",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1737378519092'",
|
|
"automation": "- id: '1737378519092'\n alias: Floorplan - Handle show/hide icons\n description: ''\n trigger:\n - platform: state\n entity_id:\n - input_boolean.floorplan_show_icons\n from: 'on'\n to: 'off'\n id: turned-off\n - platform: state\n entity_id:\n - input_boolean.floorplan_show_icons\n from: 'off'\n to: 'on'\n id: turned-on\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - turned-off\n sequence:\n - service: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.show_vacuum_map\n - conditions:\n - condition: trigger\n id:\n - turned-on\n sequence:\n - service: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.show_vacuum_map\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "floorplan show icons",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.floorplan_show_icons",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "show vacuum map",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.show_vacuum_map",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1741555462102'",
|
|
"automation": "- id: '1741555462102'\n alias: Bathroom - Pause SONOS on lights off\n description: ''\n trigger:\n - platform: state\n entity_id:\n - light.downlights_bath\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - light.lightstrip_bath\n from: 'on'\n to: 'off'\n condition:\n - condition: and\n conditions:\n - condition: state\n entity_id: light.downlights_bath\n state: 'off'\n - condition: state\n entity_id: light.lightstrip_bath\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: input_boolean.party_mode_enable\n state: 'on'\n action:\n - service: media_player.media_pause\n metadata: {}\n data: {}\n target:\n entity_id: media_player.sonos_move\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "party mode enable",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.party_mode_enable",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "downlights bath",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.downlights_bath",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lightstrip bath",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lightstrip_bath",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sonos move",
|
|
"room": "bathroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.sonos_move",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1744142825753'",
|
|
"automation": "- id: '1744142825753'\n alias: Lights - Office pendants link\n description: ''\n trigger:\n - platform: state\n entity_id:\n - light.pendant_office\n from: 'on'\n to: 'off'\n id: 'off'\n - platform: state\n entity_id:\n - light.pendant_office\n from: 'off'\n to: 'on'\n id: 'on'\n - platform: time\n at: 07:30:00\n id: focus\n - platform: time\n at: '14:30:00'\n id: bright\n - platform: time\n at: '17:00:00'\n id: chill\n - platform: time\n at: '21:30:00'\n id: night\n - platform: state\n entity_id:\n - input_select.office_mode_select\n id: mode-change\n - platform: state\n entity_id:\n - light.pendant_office\n attribute: brightness\n id: brightness\n condition: []\n action:\n - variables:\n focus_dim: 191\n focus_temp: 6535\n bright_dim: 70\n bright_temp: 4016\n chill_dim: 51\n chill_temp: 2604\n night_dim: 13\n night_temp: 2202\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - service: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.pendants_office\n - conditions:\n - condition: trigger\n id:\n - 'off'\n sequence:\n - service: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.pendants_office\n - conditions:\n - condition: trigger\n id:\n - focus\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: Focus\n target:\n entity_id: input_select.office_mode_select\n - conditions:\n - condition: trigger\n id:\n - bright\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: Bright\n target:\n entity_id: input_select.office_mode_select\n - conditions:\n - condition: trigger\n id:\n - chill\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: Chill\n target:\n entity_id: input_select.office_mode_select\n - conditions:\n - condition: trigger\n id:\n - night\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: Night\n target:\n entity_id: input_select.office_mode_select\n - conditions:\n - condition: and\n conditions:\n - condition: trigger\n id:\n - mode-change\n - condition: state\n entity_id: light.pendants_office\n state: 'on'\n sequence:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_select.office_mode_select\n state: Focus\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n kelvin: 6500\n brightness_pct: 75\n target:\n entity_id: light.pendants_office\n - conditions:\n - condition: state\n entity_id: input_select.office_mode_select\n state: Bright\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n kelvin: 4003\n brightness_pct: 50\n target:\n entity_id: light.pendants_office\n - conditions:\n - condition: state\n entity_id: input_select.office_mode_select\n state: Chill\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n kelvin: 2603\n brightness_pct: 20\n target:\n entity_id: light.pendants_office\n - conditions:\n - condition: state\n entity_id: input_select.office_mode_select\n state: Night\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n kelvin: 2000\n brightness_pct: 5\n target:\n entity_id: light.pendants_office\n - conditions:\n - condition: and\n conditions:\n - condition: trigger\n id:\n - brightness\n - condition: state\n entity_id: light.pendants_office\n state: 'on'\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n brightness_pct: '{{ state_attr(''light.pendant_office'', ''brightness'')\n }}'\n target:\n entity_id: light.pendants_office\n mode: queued\n max: 10",
|
|
"config": [
|
|
{
|
|
"name": "office mode select",
|
|
"room": "office",
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.office_mode_select",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "pendant office",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.pendant_office",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "pendants office",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.pendants_office",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1746371725883'",
|
|
"automation": "- id: '1746371725883'\n alias: Bedroom - Handle blinds control\n description: ''\n trigger:\n - platform: state\n entity_id:\n - sensor.left_blind_control_action\n to: open\n id: left-open\n - platform: state\n entity_id:\n - sensor.left_blind_control_action\n to: close\n id: left-close\n - platform: state\n entity_id:\n - sensor.left_blind_control_action\n to: hold\n id: left-stop\n - platform: state\n entity_id:\n - sensor.right_blind_control_action\n to: hold\n id: right-stop\n - platform: state\n entity_id:\n - sensor.right_blind_control_action\n to: close\n id: right-close\n - platform: state\n entity_id:\n - sensor.right_blind_control_action\n to: open\n id: right-open\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - left-open\n sequence:\n - service: cover.open_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.left_blind_bedroom\n - conditions:\n - condition: trigger\n id:\n - left-close\n sequence:\n - service: cover.close_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.left_blind_bedroom\n - conditions:\n - condition: trigger\n id:\n - left-stop\n sequence:\n - service: cover.stop_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.left_blind_bedroom\n - conditions:\n - condition: trigger\n id:\n - right-open\n sequence:\n - service: cover.open_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.right_blind_bedroom\n - conditions:\n - condition: trigger\n id:\n - right-close\n sequence:\n - service: cover.close_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.right_blind_bedroom\n - conditions:\n - condition: trigger\n id:\n - right-stop\n sequence:\n - service: cover.stop_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.right_blind_bedroom\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "left blind bedroom",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.left_blind_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "right blind bedroom",
|
|
"room": "bedroom",
|
|
"type": "cover",
|
|
"id": {
|
|
"entity_id": "cover.right_blind_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "left blind control action",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.left_blind_control_action",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "right blind control action",
|
|
"room": "bedroom",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.right_blind_control_action",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1748878472149'",
|
|
"automation": "- id: '1748878472149'\n alias: Wakeup - Handle input changes\n description: Reacts to changes done to UI-inputs related to Wakeup. Must not validate\n enable-toggle.\n trigger:\n - platform: state\n entity_id:\n - input_number.wakeup_audio_amp_delay\n id: amp-delay\n - platform: state\n entity_id:\n - input_number.wakeup_audio_loud_delay\n id: loud-delay\n - platform: state\n entity_id:\n - input_number.wakeup_blinds_open_delay\n id: blinds-delay\n - platform: state\n entity_id:\n - input_number.wakeup_light_start_advance\n id: light-advance\n - platform: state\n entity_id:\n - input_number.wakeup_audio_start_volume\n id: start-vol\n - platform: state\n entity_id:\n - input_datetime.wakeup_alarm_weekdays\n id: alarm-weekdays\n - platform: state\n entity_id:\n - input_datetime.wakeup_alarm_weekends\n id: alarm-weekends\n - platform: state\n entity_id:\n - input_boolean.wakeup_alarm_active\n from: 'off'\n to: 'on'\n id: alarm-enabled\n - platform: state\n entity_id:\n - input_boolean.wakeup_alarm_active\n from: 'on'\n to: 'off'\n id: alarm-disabled\n - platform: time\n at: '20:00:00'\n id: display-check\n - platform: state\n entity_id:\n - input_select.wakeup_display_time\n to: weekend\n from: weekday\n id: to-weekend\n - platform: state\n entity_id:\n - input_select.wakeup_display_time\n id: to-weekday\n from: weekend\n to: weekday\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - amp-delay\n sequence:\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.wakeup_alarm_time'') }}'\n delta_minutes: '{{ states(''input_number.wakeup_audio_amp_delay'') | float(0)\n }}'\n target_entity: input_datetime.wakeup_audio_amp\n - conditions:\n - condition: trigger\n id:\n - loud-delay\n sequence:\n - if:\n - condition: template\n value_template: '{% set amp_delay = states(''input_number.wakeup_audio_amp_delay'')\n | float(15) %}\n\n {% set loud_delay = states(''input_number.wakeup_audio_loud_delay'') |\n float(30) %}\n\n {{ loud_delay > amp_delay }}'\n then:\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.wakeup_alarm_time'') }}'\n delta_minutes: '{{ states(''input_number.wakeup_audio_loud_delay'') |\n float(0) }}'\n target_entity: input_datetime.wakeup_audio_loud\n - conditions:\n - condition: trigger\n id:\n - blinds-delay\n sequence:\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.wakeup_alarm_time'') }}'\n delta_minutes: '{{ states(''input_number.wakeup_blinds_open_delay'') | float(0)\n }}'\n target_entity: input_datetime.wakeup_blinds_open\n - conditions:\n - condition: trigger\n id:\n - light-advance\n sequence:\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.wakeup_alarm_time'') }}'\n delta_minutes: '{{ states(''input_number.wakeup_light_start_advance'') |\n float(0) }}'\n target_entity: input_datetime.wakeup_light_start\n - conditions:\n - condition: trigger\n id:\n - start-vol\n sequence:\n - service: sonos.update_alarm\n data:\n alarm_id: '{{ states(''input_number.wakeup_sonos_alarm_id'') | int(72) }}'\n volume: '{{ states(''input_number.wakeup_audio_start_volume'') | float(0.08)\n }}'\n target:\n entity_id: media_player.sonos_bedroom\n - conditions:\n - condition: trigger\n id:\n - alarm-enabled\n sequence:\n - service: sonos.update_alarm\n metadata: {}\n data:\n enabled: true\n alarm_id: '{{ states(''input_number.wakeup_sonos_alarm_id'') | int(72) }}'\n volume: '{{ states(''input_number.wakeup_audio_start_volume'') | float(0.08)\n }}'\n target:\n entity_id: media_player.sonos_bedroom\n - conditions:\n - condition: trigger\n id:\n - alarm-disabled\n sequence:\n - service: sonos.update_alarm\n metadata: {}\n data:\n enabled: false\n alarm_id: '{{ states(''input_number.wakeup_sonos_alarm_id'') | int(72) }}'\n target:\n entity_id: media_player.sonos_bedroom\n - conditions:\n - condition: trigger\n id:\n - alarm-weekdays\n - to-weekday\n sequence:\n - service: script.utility_set_alarm_time\n data:\n time_input: '{{ states(''input_datetime.wakeup_alarm_weekdays'') }}'\n alarm_entity: input_datetime.wakeup_alarm_time\n - service: sonos.update_alarm\n data:\n alarm_id: '{{ states(''input_number.wakeup_sonos_alarm_id'') | int }}'\n volume: '{{ states(''input_number.wakeup_audio_start_volume'') | float(0.08)\n }}'\n time: '{% set alarm = states(''input_datetime.wakeup_alarm_weekdays'') %}\n {% set time = alarm.split('':'') %} {% set hour = time[0] | int %} {%\n set minute = time[1] | int %} {{ ''%02d:%02d'' | format(hour, minute)\n }}\n\n '\n target:\n entity_id: media_player.sonos_bedroom\n - conditions:\n - condition: trigger\n id:\n - alarm-weekends\n - to-weekend\n sequence:\n - service: script.utility_set_alarm_time\n data:\n time_input: '{{ states(''input_datetime.wakeup_alarm_weekends'') }}'\n alarm_entity: input_datetime.wakeup_alarm_time\n - service: sonos.update_alarm\n data:\n alarm_id: '{{ states(''input_number.wakeup_sonos_alarm_id'') | int }}'\n volume: '{{ states(''input_number.wakeup_audio_start_volume'') | float(0.08)\n }}'\n time: '{% set alarm = states(''input_datetime.wakeup_alarm_weekends'') %}\n {% set time = alarm.split('':'') %} {% set hour = time[0] | int %} {%\n set minute = time[1] | int %} {{ ''%02d:%02d'' | format(hour, minute)\n }}\n\n '\n target:\n entity_id: media_player.sonos_bedroom\n - conditions:\n - condition: trigger\n id:\n - display-check\n sequence:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ now().weekday() == 4 }}'\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: weekend\n target:\n entity_id: input_select.wakeup_display_time\n alias: Test if its friday\n - conditions:\n - condition: template\n value_template: '{{ now().weekday() == 6 }}'\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: weekday\n target:\n entity_id: input_select.wakeup_display_time\n alias: Test if its sunday\n - delay:\n hours: 0\n minutes: 0\n seconds: 1\n milliseconds: 0\n - if:\n - condition: state\n entity_id: input_select.wakeup_display_time\n state: weekday\n then:\n - service: script.utility_set_alarm_time\n data:\n time_input: '{{ states(''input_datetime.wakeup_alarm_weekdays'') }}'\n alarm_entity: input_datetime.wakeup_alarm_time\n - service: sonos.update_alarm\n data:\n alarm_id: '{{ states(''input_number.wakeup_sonos_alarm_id'') | int }}'\n volume: '{{ states(''input_number.wakeup_audio_start_volume'') | float(0.08)\n }}'\n time: '{% set alarm = states(''input_datetime.wakeup_alarm_weekdays'')\n %} {% set time = alarm.split('':'') %} {% set hour = time[0] | int %}\n {% set minute = time[1] | int %} {{ ''%02d:%02d'' | format(hour, minute)\n }}\n\n '\n target:\n entity_id: media_player.sonos_bedroom\n else:\n - service: script.utility_set_alarm_time\n data:\n time_input: '{{ states(''input_datetime.wakeup_alarm_weekends'') }}'\n alarm_entity: input_datetime.wakeup_alarm_time\n - service: sonos.update_alarm\n data:\n alarm_id: '{{ states(''input_number.wakeup_sonos_alarm_id'') | int }}'\n volume: '{{ states(''input_number.wakeup_audio_start_volume'') | float(0.08)\n }}'\n time: '{% set alarm = states(''input_datetime.wakeup_alarm_weekends'')\n %} {% set time = alarm.split('':'') %} {% set hour = time[0] | int %}\n {% set minute = time[1] | int %} {{ ''%02d:%02d'' | format(hour, minute)\n }}\n\n '\n target:\n entity_id: media_player.sonos_bedroom\n mode: queued\n max: 10",
|
|
"config": [
|
|
{
|
|
"name": "wakeup light start",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_light_start",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup alarm time",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_alarm_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup blinds open",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_blinds_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio amp",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_audio_amp",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio loud",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_audio_loud",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup alarm active",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.wakeup_alarm_active",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sonos bedroom",
|
|
"room": "bedroom",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "media_player.sonos_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio start volume",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_audio_start_volume",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup display time",
|
|
"room": null,
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.wakeup_display_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio amp delay",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_audio_amp_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio loud delay",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_audio_loud_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup blinds open delay",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_blinds_open_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup light start advance",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_light_start_advance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup alarm weekdays",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_alarm_weekdays",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup alarm weekends",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_alarm_weekends",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup sonos alarm id",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_sonos_alarm_id",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Adjust Datetime",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.adjust_datetime",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Utility Set Alarm Time",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.utility_set_alarm_time",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1748890659372'",
|
|
"automation": "- id: '1748890659372'\n alias: Wakeup - Handle alarm-time changes\n description: When the main wakeup alarm-time changes, it should set the other trigger\n times as well. Must not validate enable-toggle.\n trigger:\n - platform: state\n entity_id:\n - input_datetime.wakeup_alarm_time\n condition: []\n action:\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.wakeup_alarm_time'') }}'\n delta_minutes: '{{ states(''input_number.wakeup_light_start_advance'') | float(0)\n }}\n\n '\n target_entity: input_datetime.wakeup_light_start\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.wakeup_alarm_time'') }}'\n delta_minutes: '{{ states(''input_number.wakeup_blinds_open_delay'') | float(0)\n }}\n\n '\n target_entity: input_datetime.wakeup_blinds_open\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.wakeup_alarm_time'') }}'\n delta_minutes: '{{ states(''input_number.wakeup_audio_amp_delay'') | float(0)\n }}'\n target_entity: input_datetime.wakeup_audio_amp\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.wakeup_alarm_time'') }}'\n delta_minutes: '{{ states(''input_number.wakeup_audio_loud_delay'') | float(0)\n }}\n\n '\n target_entity: input_datetime.wakeup_audio_loud\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.wakeup_alarm_time'') }}'\n delta_minutes: 60\n target_entity: input_datetime.wakeup_ends\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "wakeup light start",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_light_start",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup alarm time",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_alarm_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup blinds open",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_blinds_open",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio amp",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_audio_amp",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio loud",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_audio_loud",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup ends",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.wakeup_ends",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio amp delay",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_audio_amp_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup audio loud delay",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_audio_loud_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup blinds open delay",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_blinds_open_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wakeup light start advance",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.wakeup_light_start_advance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Adjust Datetime",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.adjust_datetime",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1749107493109'",
|
|
"automation": "- id: '1749107493109'\n alias: Office - Light remote presses\n description: ''\n trigger:\n - platform: state\n entity_id:\n - sensor.light_remote_office_action\n to: arrow_left_click\n id: left\n - platform: state\n entity_id:\n - sensor.light_remote_office_action\n to: arrow_right_click\n id: right\n - platform: state\n entity_id:\n - sensor.light_remote_office_action\n id: up\n to: 'on'\n - platform: state\n entity_id:\n - sensor.light_remote_office_action\n to: 'off'\n id: down\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - up\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n brightness_step_pct: 10\n target:\n entity_id: light.pendants_office\n - conditions:\n - condition: trigger\n id:\n - down\n sequence:\n - service: light.turn_on\n metadata: {}\n data:\n brightness_step_pct: -8\n target:\n entity_id: light.pendants_office\n mode: queued\n max: 10",
|
|
"config": [
|
|
{
|
|
"name": "pendants office",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.pendants_office",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "light remote office action",
|
|
"room": "office",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.light_remote_office_action",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1749332974341'",
|
|
"automation": "- id: '1749332974341'\n alias: Bedtime - Handle input changes\n description: Reacts to changes done to UI-inputs related to Bedtime. Must not validate\n enable-toggle.\n trigger:\n - platform: state\n entity_id:\n - input_number.bedtime_reminder_after_delay\n id: reminder-delay\n - platform: state\n entity_id:\n - input_number.bedtime_reminder_before_advance\n id: reminder-advance\n - platform: state\n entity_id:\n - input_number.bedtime_sheet_preheat_advance\n id: preheat-advance\n - platform: state\n entity_id:\n - input_boolean.bedtime_heating_sheet_enable\n id: sheet-on\n from: 'off'\n to: 'on'\n - platform: state\n entity_id:\n - input_boolean.bedtime_heating_sheet_enable\n id: sheet-off\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - input_datetime.bedtime_trigger_weekdays\n id: trigger-weekdays\n - platform: state\n entity_id:\n - input_datetime.bedtime_trigger_weekends\n id: trigger-weekends\n - platform: state\n entity_id:\n - input_boolean.bedtime_trigger_active\n from: 'off'\n to: 'on'\n id: trigger-enabled\n - platform: state\n entity_id:\n - input_boolean.bedtime_trigger_active\n from: 'on'\n to: 'off'\n id: trigger-disabled\n - platform: time\n at: 08:00:00\n id: display-check\n - platform: state\n entity_id:\n - input_select.bedtime_display_time\n to: weekend\n from: weekday\n id: to-weekend\n - platform: state\n entity_id:\n - input_select.bedtime_display_time\n id: to-weekday\n from: weekend\n to: weekday\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - preheat-advance\n sequence:\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.bedtime_trigger_time'') }}'\n delta_minutes: '{{ states(''input_number.bedtime_sheet_preheat_advance'')\n | int }}'\n target_entity: input_datetime.bedtime_sheet_preheating\n - conditions:\n - condition: trigger\n id:\n - reminder-advance\n sequence:\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.bedtime_trigger_time'') }}'\n delta_minutes: '{{ states(''input_number.bedtime_reminder_before_advance'')\n | int }}'\n target_entity: input_datetime.bedtime_reminder_before\n - conditions:\n - condition: trigger\n id:\n - reminder-delay\n sequence:\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.bedtime_trigger_time'') }}'\n delta_minutes: '{{ states(''input_number.bedtime_reminder_after_delay'')\n | int }}'\n target_entity: input_datetime.bedtime_reminder_after\n - conditions:\n - condition: trigger\n id:\n - trigger-enabled\n sequence: []\n - conditions:\n - condition: trigger\n id:\n - trigger-disabled\n sequence: []\n - conditions:\n - condition: trigger\n id:\n - to-weekday\n - trigger-weekdays\n sequence:\n - service: script.utility_set_alarm_time\n data:\n time_input: '{{ states(''input_datetime.bedtime_trigger_weekdays'') }}'\n alarm_entity: input_datetime.bedtime_trigger_time\n - conditions:\n - condition: trigger\n id:\n - alarm-weekends\n - to-weekend\n sequence:\n - service: script.utility_set_alarm_time\n data:\n time_input: '{{ states(''input_datetime.bedtime_trigger_weekends'') }}'\n alarm_entity: input_datetime.bedtime_trigger_time\n - conditions:\n - condition: trigger\n id:\n - display-check\n sequence:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ now().weekday() == 4 }}'\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: weekend\n target:\n entity_id:\n - input_select.bedtime_display_time\n alias: Test if its friday\n - conditions:\n - condition: template\n value_template: '{{ now().weekday() == 6 }}'\n sequence:\n - service: input_select.select_option\n metadata: {}\n data:\n option: weekday\n target:\n entity_id:\n - input_select.bedtime_display_time\n alias: Test if its sunday\n - delay:\n hours: 0\n minutes: 0\n seconds: 1\n milliseconds: 0\n - if:\n - condition: state\n entity_id: input_select.bedtime_display_time\n state: weekday\n then:\n - service: script.utility_set_alarm_time\n data:\n time_input: '{{ states(''input_datetime.bedtime_trigger_weekdays'') }}'\n alarm_entity: input_datetime.bedtime_trigger_time\n else:\n - service: script.utility_set_alarm_time\n data:\n time_input: '{{ states(''input_datetime.bedtime_trigger_weekends'') }}'\n alarm_entity: input_datetime.bedtime_trigger_time\n mode: queued\n max: 10",
|
|
"config": [
|
|
{
|
|
"name": "bedtime sheet preheating",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_sheet_preheating",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime trigger time",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_trigger_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime reminder before",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_reminder_before",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime reminder after",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_reminder_after",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime trigger active",
|
|
"room": "bedroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.bedtime_trigger_active",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime heating sheet enable",
|
|
"room": "bedroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.bedtime_heating_sheet_enable",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime reminder after delay",
|
|
"room": "bedroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.bedtime_reminder_after_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime reminder before advance",
|
|
"room": "bedroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.bedtime_reminder_before_advance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime sheet preheat advance",
|
|
"room": "bedroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.bedtime_sheet_preheat_advance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime trigger weekdays",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_trigger_weekdays",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime trigger weekends",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_trigger_weekends",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime display time",
|
|
"room": "bedroom",
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.bedtime_display_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Adjust Datetime",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.adjust_datetime",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Utility Set Alarm Time",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.utility_set_alarm_time",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1749370122769'",
|
|
"automation": "- id: '1749370122769'\n alias: Bedtime - Handle main trigger time change\n description: When the main bedtime trigger-time changes, it should set the other\n trigger times as well. Must not validate enable-toggle.\n trigger:\n - platform: state\n entity_id:\n - input_datetime.bedtime_trigger_time\n condition: []\n action:\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.bedtime_trigger_time'') }}'\n delta_minutes: '{{ states(''input_number.bedtime_sheet_preheat_advance'') |\n int }}\n\n '\n target_entity: input_datetime.bedtime_sheet_preheating\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.bedtime_trigger_time'') }}'\n delta_minutes: '{{ states(''input_number.bedtime_curtains_close_advance'') |\n int }}\n\n '\n target_entity: input_datetime.bedtime_curtains_close\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.bedtime_trigger_time'') }}'\n delta_minutes: '{{ states(''input_number.bedtime_reminder_before_advance'')\n | int }}\n\n '\n target_entity: input_datetime.bedtime_reminder_before\n - service: script.adjust_datetime\n data:\n base_datetime: '{{ states(''input_datetime.bedtime_trigger_time'') }}'\n delta_minutes: '{{ states(''input_number.bedtime_reminder_after_delay'') | int\n }}'\n target_entity: input_datetime.bedtime_reminder_after\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "bedtime sheet preheating",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_sheet_preheating",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime curtains close",
|
|
"room": "living_room",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_curtains_close",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime trigger time",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_trigger_time",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime reminder before",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_reminder_before",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime reminder after",
|
|
"room": "bedroom",
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.bedtime_reminder_after",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime reminder after delay",
|
|
"room": "bedroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.bedtime_reminder_after_delay",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime reminder before advance",
|
|
"room": "bedroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.bedtime_reminder_before_advance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime sheet preheat advance",
|
|
"room": "bedroom",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.bedtime_sheet_preheat_advance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedtime curtains close advance",
|
|
"room": "living_room",
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.bedtime_curtains_close_advance",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Adjust Datetime",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.adjust_datetime",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1708515045819'",
|
|
"automation": "- id: '1708515045819'\n alias: Lights - Masterdim ALL lights\n description: Masterdims the brightness of lights in all the activity-rooms. The\n exceptions are Bedroom, Guest room and Storage-room. Only applied to lights with\n adjustable brightness.\n trigger:\n - platform: state\n entity_id: input_number.apartment_dimmer\n condition: []\n action:\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_veranda'', ''on'')\n }}'\n light_entity: light.wall_lantern_veranda\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Veranda wall lantern\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_kitchen'', ''on'')\n }}'\n light_entity: light.spottrack6_kitchen\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Kitchen 6-track\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_kitchen'', ''on'')\n }}'\n light_entity: light.pendants_kitchen\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Kitchen pendants\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_living'', ''on'')\n }}'\n light_entity: light.pendants_living\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Living pendants\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_living'', ''on'')\n }}'\n light_entity: light.downlights_living\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Living downlights\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_living'', ''on'')\n }}'\n light_entity: light.spottrack4_living\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Living 4-track\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_living'', ''on'')\n }}'\n light_entity: light.mood_lamp_living\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Living mood ball\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_entry'', ''on'')\n }}'\n light_entity: light.downlights_entry\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Entry downlights\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_office'', ''on'')\n }}'\n light_entity: light.pendant_office\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Office pendants\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_bath'', ''on'')\n }}'\n light_entity: light.lightstrip_bath\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Bath lightstrip\n - service: script.masterdim_script\n data:\n manual_override: '{{ is_state(''input_boolean.lights_override_bath'', ''on'')\n }}'\n light_entity: light.downlights_bath\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Bath downlights\n - service: script.masterdim_script\n data:\n manual_override: false\n light_entity: light.downlight_toilet\n brightness: '{{ states(''input_number.apartment_dimmer'') }}'\n alias: Masterdim Toilet downlight\n mode: restart",
|
|
"config": [
|
|
{
|
|
"name": "downlights bath",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.downlights_bath",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lightstrip bath",
|
|
"room": "bathroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.lightstrip_bath",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "pendant office",
|
|
"room": "office",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.pendant_office",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "apartment dimmer",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.apartment_dimmer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights override veranda",
|
|
"room": "veranda",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_override_veranda",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "wall lantern veranda",
|
|
"room": "veranda",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.wall_lantern_veranda",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights override kitchen",
|
|
"room": "kitchen",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_override_kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "spottrack6 kitchen",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.spottrack6_kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "pendants kitchen",
|
|
"room": "kitchen",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.pendants_kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights override living",
|
|
"room": "living_room",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_override_living",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "pendants living",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.pendants_living",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "downlights living",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.downlights_living",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "spottrack4 living",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.spottrack4_living",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "mood lamp living",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.mood_lamp_living",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights override entry",
|
|
"room": "entry",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_override_entry",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "downlights entry",
|
|
"room": "entry",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.downlights_entry",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights override office",
|
|
"room": "office",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_override_office",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights override bath",
|
|
"room": "bathroom",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_override_bath",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "downlight toilet",
|
|
"room": "toilet",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.downlight_toilet",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Masterdim Script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.masterdim_script",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1709814409323'",
|
|
"automation": "- id: '1709814409323'\n alias: Lights - Handle Auto suncycle masterdim ON/OFF\n description: ''\n trigger:\n - platform: state\n entity_id:\n - input_boolean.auto_suncycle_masterdim\n from: 'off'\n to: 'on'\n id: 'on'\n - platform: state\n entity_id:\n - input_boolean.auto_suncycle_masterdim\n from: 'on'\n to: 'off'\n id: 'off'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - 'on'\n sequence:\n - service: script.lights_reset_overrides\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "auto suncycle masterdim",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.auto_suncycle_masterdim",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Lights Reset Overrides",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.lights_reset_overrides",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1707168721809'",
|
|
"automation": "- id: '1707168721809'\n alias: Auto masterdim with Sun-cycle\n description: Automatically adjusts the brightness of all lights in the apartment\n (masterdim) at 8 times during the suns cycle.\n trigger:\n - platform: time\n at: sensor.sun_next_midnight\n id: midnight\n - platform: time\n at: sensor.sun_next_dawn\n id: dawn\n - platform: time\n at: sensor.sun_next_rising\n id: sunrise\n - platform: time\n at: input_datetime.risenoon\n id: risenoon\n - platform: time\n at: sensor.sun_next_noon\n id: noon\n - platform: time\n at: input_datetime.noonset\n id: noonset\n - platform: time\n at: sensor.sun_next_setting\n id: sunset\n - platform: time\n at: sensor.sun_next_dusk\n id: dusk\n condition:\n - condition: state\n entity_id: input_boolean.auto_suncycle_masterdim\n state: 'on'\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - midnight\n sequence:\n - service: input_number.set_value\n data:\n value: '{{ states(''input_number.dimconstant_lowest'') | int }}'\n target:\n entity_id: input_number.apartment_dimmer\n - service: script.sun_cycle_set_next_event_text\n data:\n next_sun_event: Dawn\n event_time: '{{ states(''sensor.sun_next_dawn'') }}'\n - conditions:\n - condition: trigger\n id:\n - dawn\n sequence:\n - service: input_number.set_value\n data:\n value: '{{ states(''input_number.dimconstant_low'') | int }}'\n target:\n entity_id: input_number.apartment_dimmer\n - service: script.sun_cycle_set_next_event_text\n data:\n next_sun_event: Sunrise\n event_time: '{{ states(''sensor.sun_next_rising'') }}'\n - conditions:\n - condition: trigger\n id:\n - sunrise\n sequence:\n - service: input_number.set_value\n data:\n value: '{{ states(''input_number.dimconstant_medium'') | int }}'\n target:\n entity_id: input_number.apartment_dimmer\n - service: script.sun_cycle_set_next_event_text\n data:\n next_sun_event: Risenoon\n event_time: '{{ states(''input_datetime.risenoon'') }}'\n - conditions:\n - condition: trigger\n id:\n - risenoon\n sequence:\n - service: input_number.set_value\n data:\n value: '{{ states(''input_number.dimconstant_high'') | int }}'\n target:\n entity_id: input_number.apartment_dimmer\n - service: script.sun_cycle_set_next_event_text\n data:\n next_sun_event: Noon\n event_time: '{{ states(''sensor.sun_next_noon'') }}'\n - conditions:\n - condition: trigger\n id:\n - noon\n sequence:\n - service: input_number.set_value\n data:\n value: '{{ states(''input_number.dimconstant_highest'') | int }}'\n target:\n entity_id: input_number.apartment_dimmer\n - service: script.sun_cycle_set_next_event_text\n data:\n next_sun_event: Noonset\n event_time: '{{ states(''input_datetime.noonset'') }}'\n - conditions:\n - condition: trigger\n id:\n - noonset\n sequence:\n - service: input_number.set_value\n data:\n value: '{{ states(''input_number.dimconstant_high'') | int }}'\n target:\n entity_id: input_number.apartment_dimmer\n - service: script.sun_cycle_set_next_event_text\n data:\n next_sun_event: Sunset\n event_time: '{{ states(''sensor.sun_next_setting'') }}'\n - conditions:\n - condition: trigger\n id:\n - sunset\n sequence:\n - service: input_number.set_value\n data:\n value: '{{ states(''input_number.dimconstant_medium'') | int }}'\n target:\n entity_id: input_number.apartment_dimmer\n - service: script.sun_cycle_set_next_event_text\n data:\n next_sun_event: Dusk\n event_time: '{{ states(''sensor.sun_next_dusk'') }}'\n - conditions:\n - condition: trigger\n id:\n - dusk\n sequence:\n - service: input_number.set_value\n data:\n value: '{{ states(''input_number.dimconstant_low'') | int }}'\n target:\n entity_id: input_number.apartment_dimmer\n - service: script.sun_cycle_set_next_event_text\n data:\n next_sun_event: Midnight\n event_time: '{{ states(''sensor.sun_next_midnight'') }}'\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "apartment dimmer",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.apartment_dimmer",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "auto suncycle masterdim",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.auto_suncycle_masterdim",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sun next midnight",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.sun_next_midnight",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sun next dawn",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.sun_next_dawn",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sun next rising",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.sun_next_rising",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "risenoon",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.risenoon",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sun next noon",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.sun_next_noon",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "noonset",
|
|
"room": null,
|
|
"type": "input_datetime",
|
|
"id": {
|
|
"entity_id": "input_datetime.noonset",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sun next setting",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.sun_next_setting",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "sun next dusk",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.sun_next_dusk",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dimconstant lowest",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.dimconstant_lowest",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dimconstant low",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.dimconstant_low",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dimconstant medium",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.dimconstant_medium",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dimconstant high",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.dimconstant_high",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "dimconstant highest",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.dimconstant_highest",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Sun Cycle Set Next Event Text",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.sun_cycle_set_next_event_text",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1703000590222'",
|
|
"automation": "- id: '1703000590222'\n alias: Calculate RiseNoon and NoonSet at Midnight\n description: Calculates the daily middle-times between Sunrise and Noon, and Noon\n and Sunset at midnight\n trigger:\n - platform: time\n at: sensor.sun_next_midnight\n condition: []\n action:\n - service: script.calculate_risenoon\n - service: script.calculate_noonset\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "sun next midnight",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.sun_next_midnight",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Calculate Noonset",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.calculate_noonset",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Calculate Risenoon",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.calculate_risenoon",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1710428595542'",
|
|
"automation": "- id: '1710428595542'\n alias: Lights - Handle light-mode toggles ON/OFF\n description: ''\n trigger:\n - platform: state\n entity_id:\n - input_boolean.lights_cooking_mode\n id: cooking-on\n from: 'off'\n to: 'on'\n - platform: state\n entity_id:\n - input_boolean.lights_cooking_mode\n id: cooking-off\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - input_boolean.lights_dining_mode\n id: dining-on\n from: 'off'\n to: 'on'\n - platform: state\n entity_id:\n - input_boolean.lights_dining_mode\n id: dining-off\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - input_boolean.lights_movie_mode\n id: movie-off\n from: 'on'\n to: 'off'\n - platform: state\n entity_id:\n - input_boolean.lights_movie_mode\n id: movie-on\n from: 'off'\n to: 'on'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - cooking-on\n sequence:\n - service: script.lights_kitchen_cooking_mood\n - conditions:\n - condition: trigger\n id:\n - cooking-off\n sequence:\n - service: input_boolean.turn_off\n target:\n entity_id: input_boolean.lights_override_kitchen\n - conditions:\n - condition: trigger\n id:\n - dining-on\n sequence:\n - service: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.lights_movie_mode\n - input_boolean.lights_cooking_mode\n - service: script.lights_dinner_mood\n - conditions:\n - condition: trigger\n id:\n - dining-off\n - movie-off\n sequence:\n - service: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.lights_override_entry\n - input_boolean.lights_override_kitchen\n - input_boolean.lights_override_living\n - input_boolean.lights_override_veranda\n - conditions:\n - condition: trigger\n id:\n - movie-on\n sequence:\n - service: input_boolean.turn_off\n target:\n entity_id:\n - input_boolean.lights_cooking_mode\n - input_boolean.lights_dining_mode\n - service: script.lights_tv_mood\n mode: queued",
|
|
"config": [
|
|
{
|
|
"name": "lights movie mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_movie_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights dining mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_dining_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights cooking mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_cooking_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights override veranda",
|
|
"room": "veranda",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_override_veranda",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights override kitchen",
|
|
"room": "kitchen",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_override_kitchen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights override living",
|
|
"room": "living_room",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_override_living",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights override entry",
|
|
"room": "entry",
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_override_entry",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Lights Dinner Mood",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.lights_dinner_mood",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Lights Kitchen Cooking Mood",
|
|
"room": "Kitchen",
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.lights_kitchen_cooking_mood",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Lights TV Mood",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.lights_tv_mood",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1710423415819'",
|
|
"automation": "- id: '1710423415819'\n alias: Lights - Handle Fibaro Dimmer double-clicks\n description: ''\n trigger:\n - platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 11\n command_class: 43\n property: sceneId\n value: 14\n id: entry-double-click\n alias: Listen for Fibaro Dimmer entry double-clicked\n - platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 5\n command_class: 43\n property: sceneId\n value: 14\n id: kitchen-double-click\n alias: Listen for Fibaro Dimmer kitchen double-clicked\n - platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 7\n command_class: 43\n property: sceneId\n value: 14\n id: dining-double-click\n alias: Listen for Fibaro Dimmer dining double-clicked\n - platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 13\n command_class: 43\n property: sceneId\n value: 14\n id: bath-downlights-2x\n alias: Listen for Fibaro Dimmer bath downlights 2x\n - platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 14\n command_class: 43\n property: sceneId\n value: 14\n id: bath-lighstrip-2x\n alias: Listen for Fibaro Dimmer bath lighstrip 2x\n - platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 4\n command_class: 43\n property: sceneId\n value: 14\n id: living-track4-2x\n alias: Listen for Fibaro Dimmer living track4 2x\n - platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 3\n command_class: 43\n property: sceneId\n value: 14\n id: living-downlights-2x\n alias: Listen for Fibaro Dimmer living downlights 2x\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - entry-double-click\n sequence:\n - service: script.all_lights_off\n alias: Entry double-click\n - conditions:\n - condition: trigger\n id:\n - kitchen-double-click\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.lights_cooking_mode\n - conditions:\n - condition: trigger\n id:\n - dining-double-click\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.lights_dining_mode\n - conditions:\n - condition: trigger\n id:\n - bath-downlights-2x\n sequence:\n - service: input_select.select_option\n target:\n entity_id: input_select.bathroom_mode_select\n data:\n option: bright\n - conditions:\n - condition: trigger\n id:\n - bath-lighstrip-2x\n sequence:\n - service: input_select.select_option\n target:\n entity_id: input_select.bathroom_mode_select\n data:\n option: night\n - conditions:\n - condition: trigger\n id:\n - living-track4-2x\n sequence:\n - service: script.all_lights_on\n data: {}\n - conditions:\n - condition: trigger\n id:\n - living-downlights-2x\n sequence:\n - service: input_boolean.turn_on\n target:\n entity_id: input_boolean.lights_movie_mode\n mode: queued",
|
|
"config": [
|
|
{
|
|
"name": "lights movie mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_movie_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights dining mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_dining_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "lights cooking mode",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.lights_cooking_mode",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bathroom mode select",
|
|
"room": "bathroom",
|
|
"type": "input_select",
|
|
"id": {
|
|
"entity_id": "input_select.bathroom_mode_select",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights Off",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.all_lights_off",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "All Lights On",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.all_lights_on",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |