AutomationDataset/gbuktenica/description-ready.json

3359 lines
127 KiB
JSON

[
{
"id": "reboot_host",
"automation": "- id: reboot_host\n alias: Reboot host\n description: Turn the amplifier on and restart the Intel NUC. This is to make sure\n the HDMI is working.\n triggers:\n - at: 09:30:00\n trigger: time\n conditions:\n - condition: time\n weekday:\n - fri\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'off'\n - condition: state\n entity_id: binary_sensor.workday_sensor\n state: 'on'\n actions:\n - entity_id: script.harmony_music\n action: script.turn_on\n - delay:\n minutes: 1\n - action: hassio.host_reboot\n data: {}\n initial_state: true",
"config": [
{
"name": "holiday mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.holiday_mode",
"device_id": null
}
},
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "workday sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.workday_sensor",
"device_id": null
}
},
{
"name": "harmony music script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.harmony_music",
"device_id": null
}
},
{
"name": "Turn On Script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.turn_on",
"device_id": null
}
}
]
},
{
"id": "after_reboot_host",
"automation": "- id: after_reboot_host\n alias: After Reboot host\n description: Turn the amplifier off after the reboot in reboot_host\n initial_state: true\n trigger:\n - platform: time\n at: 09:40:00\n condition:\n - condition: time\n weekday:\n - fri\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'off'\n - condition: state\n entity_id: binary_sensor.workday_sensor\n state: 'on'\n action:\n - service: script.turn_on\n entity_id: script.harmony_off",
"config": [
{
"name": "holiday mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.holiday_mode",
"device_id": null
}
},
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "workday sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.workday_sensor",
"device_id": null
}
},
{
"name": "harmony off script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.harmony_off",
"device_id": null
}
},
{
"name": "Turn On Script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.turn_on",
"device_id": null
}
}
]
},
{
"id": "weekend_outside_speakers_on",
"automation": "- id: weekend_outside_speakers_on\n alias: Weekend Outside Speakers On\n description: Turns on the outside speakers when the rear bi fold is opened.\n trigger:\n - entity_id:\n - binary_sensor.rear_bifold_door\n platform: state\n to: 'on'\n for:\n seconds: 10\n from: 'off'\n - platform: state\n entity_id:\n - remote.harmony_hub\n to: music\n condition:\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'off'\n - condition: time\n after: 09:00:00\n before: '20:00:00'\n - condition: state\n entity_id: binary_sensor.workday_sensor\n state: 'off'\n - condition: state\n entity_id: binary_sensor.rear_bifold_door\n state: 'on'\n - condition: state\n entity_id: media_player.lounge_amp_2\n state: 'on'\n action:\n - action: script.outside_speakers_on\n data: {}\n mode: single",
"config": [
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "workday sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.workday_sensor",
"device_id": null
}
},
{
"name": "rear bifold door",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.rear_bifold_door",
"device_id": null
}
},
{
"name": "harmony hub",
"room": null,
"type": "remote",
"id": {
"entity_id": "remote.harmony_hub",
"device_id": null
}
},
{
"name": "lounge amp 2",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp_2",
"device_id": null
}
},
{
"name": "outside speakers on script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.outside_speakers_on",
"device_id": null
}
},
{
"name": "lounge amp",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp",
"device_id": null
}
}
]
},
{
"id": "weekend_outside_speakers_off",
"automation": "- id: weekend_outside_speakers_off\n alias: Weekend Outside Speakers Off\n description: Turns off the outside speakers if the rear bifold is closed\n trigger:\n - entity_id:\n - binary_sensor.rear_bifold_door\n platform: state\n to: 'off'\n from: 'on'\n condition:\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'off'\n - condition: state\n entity_id: media_player.lounge_amp_2\n state: 'on'\n action:\n - action: script.outside_speakers_off\n data: {}\n mode: queued\n max: 10",
"config": [
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "rear bifold door",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.rear_bifold_door",
"device_id": null
}
},
{
"name": "lounge amp 2",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp_2",
"device_id": null
}
},
{
"name": "outside speakers off script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.outside_speakers_off",
"device_id": null
}
},
{
"name": "lounge amp",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp",
"device_id": null
}
}
]
},
{
"id": "bin_week_yellow",
"automation": "- id: bin_week_yellow\n alias: Bin Week Yellow\n triggers:\n - at: '15:00:00'\n trigger: time\n conditions:\n - condition: time\n weekday:\n - sun\n - mon\n - condition: template\n value_template: '{{((as_timestamp(now()) - as_timestamp(\"2023-06-05 00:00:00\"))/86400)\n | int % 14 == 0}}'\n actions:\n - action: notify.mobile_app_pixel\n data:\n message: Yellow Bin Week\n - data:\n message: It is yellow bin week.\n action: notify.mobile_app_natalies_iphone",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "mobile app natalies iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_natalies_iphone",
"device_id": null
}
}
]
},
{
"id": "bin_week_red",
"automation": "- id: bin_week_red\n alias: Bin Week Red\n triggers:\n - at: '15:00:00'\n trigger: time\n conditions:\n - condition: time\n weekday:\n - sun\n - condition: template\n value_template: '{{((as_timestamp(now()) - as_timestamp(\"2023-06-11 00:00:00\"))/86400)\n | int % 14 == 0}}'\n actions:\n - action: notify.mobile_app_pixel\n data:\n message: Red Bin Week\n - data:\n message: It is red bin week.\n action: notify.mobile_app_natalies_iphone",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "mobile app natalies iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_natalies_iphone",
"device_id": null
}
}
]
},
{
"id": "door_bell_chime",
"automation": "- id: door_bell_chime\n alias: Door Bell Chime\n triggers:\n - entity_id:\n - binary_sensor.g4_doorbell_pro_doorbell\n to: 'on'\n trigger: state\n conditions:\n - condition: time\n after: 05:30:00\n before: '22:00:00'\n actions:\n - action: media_player.volume_set\n metadata: {}\n data:\n volume_level: 1\n target:\n entity_id:\n - media_player.kitchen_display_3\n - media_player.workshop_speaker\n - media_player.bedroom_speaker\n - data:\n media_content_id: /local/doorbell.mp3\n media_content_type: music\n announce: false\n target:\n entity_id:\n - media_player.bedroom_speaker\n - media_player.workshop_speaker\n - media_player.kitchen_display\n action: media_player.play_media",
"config": [
{
"name": "g4 doorbell pro doorbell",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.g4_doorbell_pro_doorbell",
"device_id": null
}
},
{
"name": "kitchen display 3",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.kitchen_display_3",
"device_id": null
}
},
{
"name": "workshop speaker",
"room": "workshop",
"type": "media_player",
"id": {
"entity_id": "media_player.workshop_speaker",
"device_id": null
}
},
{
"name": "bedroom speaker",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.bedroom_speaker",
"device_id": null
}
},
{
"name": "kitchen display",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.kitchen_display",
"device_id": null
}
}
]
},
{
"id": "door_bell_notification",
"automation": "- id: door_bell_notification\n alias: Door Bell Notification\n triggers:\n - entity_id:\n - binary_sensor.g4_doorbell_pro_doorbell\n to: 'on'\n trigger: state\n conditions:\n - condition: time\n after: 05:30:00\n before: '22:00:00'\n actions:\n - delay:\n hours: 0\n minutes: 0\n seconds: 5\n milliseconds: 0\n - data:\n filename: /config/www/doorbell.png\n action: camera.snapshot\n target:\n entity_id:\n - camera.g4_doorbell_pro_high_resolution_channel\n - data:\n message: Someone has pressed the doorbell.\n data:\n image: https://hassio.buktenica.com:8123/local/doorbell.png\n tag: doorbell\n sticky: 'true'\n actions:\n - action: trigger_gate\n title: Gate\n action: notify.mobile_app_pixel\n - data:\n message: Someone has pressed the doorbell.\n data:\n image: https://hassio.buktenica.com:8123/local/doorbell.png\n tag: doorbell\n sticky: 'true'\n actions:\n - action: trigger_gate\n title: Gate\n action: notify.mobile_app_natalies_iphone",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "mobile app natalies iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_natalies_iphone",
"device_id": null
}
},
{
"name": "g4 doorbell pro doorbell",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.g4_doorbell_pro_doorbell",
"device_id": null
}
},
{
"name": "g4 doorbell pro high resolution channel",
"room": null,
"type": "camera",
"id": {
"entity_id": "camera.g4_doorbell_pro_high_resolution_channel",
"device_id": null
}
}
]
},
{
"id": "doorbell_gate_action",
"automation": "- id: doorbell_gate_action\n alias: Doorbell Gate Action\n description: Open the gate when the door bell notification button is pressed.\n trigger:\n - platform: event\n event_type: mobile_app_notification_action\n event_data:\n action: trigger_gate\n action:\n - service: button.press\n data: {}\n target:\n entity_id: button.vehicle_button\n - service: notify.mobile_app_pixel\n data:\n message: clear_notification\n data:\n tag: doorbell",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "vehicle button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.vehicle_button",
"device_id": null
}
}
]
},
{
"id": "'1685262366338'",
"automation": "- id: '1685262366338'\n alias: Press Garage Gate Button\n description: ''\n triggers:\n - entity_id:\n - binary_sensor.garage_rear_button\n to: 'off'\n trigger: state\n from: 'on'\n conditions: []\n actions:\n - data: {}\n target:\n entity_id: button.vehicle_button\n action: button.press\n mode: single",
"config": [
{
"name": "vehicle button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.vehicle_button",
"device_id": null
}
},
{
"name": "garage rear button",
"room": "garage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garage_rear_button",
"device_id": null
}
}
]
},
{
"id": "light_downstairs_switch_on",
"automation": "- id: light_downstairs_switch_on\n alias: Light Downstairs Switch On\n description: Turn on the Lounge and Dining lights\n trigger:\n - entity_id: binary_sensor.downstairs_input\n platform: state\n to: 'on'\n condition:\n - condition: state\n entity_id: light.kitchen\n state: 'off'\n - condition: state\n entity_id: light.kitchen_led\n state: 'off'\n - condition: state\n entity_id: light.fl\n state: 'off'\n - condition: state\n entity_id: light.fr\n state: 'off'\n - condition: state\n entity_id: light.rl\n state: 'off'\n - condition: state\n entity_id: light.rr\n state: 'off'\n - condition: state\n entity_id: light.dining_west\n state: 'off'\n - condition: state\n entity_id: light.dining_east\n state: 'off'\n action:\n service: light.turn_on\n data:\n entity_id:\n - light.kitchen\n - light.rl\n - light.rr\n - light.dining_west\n - light.dining_east",
"config": [
{
"name": "downstairs input",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.downstairs_input",
"device_id": null
}
},
{
"name": "kitchen light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen",
"device_id": null
}
},
{
"name": "kitchen led",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_led",
"device_id": null
}
},
{
"name": "fl light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.fl",
"device_id": null
}
},
{
"name": "fr light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.fr",
"device_id": null
}
},
{
"name": "rl light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.rl",
"device_id": null
}
},
{
"name": "rr light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.rr",
"device_id": null
}
},
{
"name": "dining west light",
"room": "dining",
"type": "light",
"id": {
"entity_id": "light.dining_west",
"device_id": null
}
},
{
"name": "dining east light",
"room": "dining",
"type": "light",
"id": {
"entity_id": "light.dining_east",
"device_id": null
}
}
]
},
{
"id": "light_downstairs_switch_off",
"automation": "- id: light_downstairs_switch_off\n alias: Light Downstairs Switch Off\n description: Turn off the Lounge and Dining lights\n trigger:\n - entity_id: binary_sensor.downstairs_input\n platform: state\n to: 'on'\n condition:\n or:\n - condition: state\n entity_id: light.kitchen\n state: 'on'\n - condition: state\n entity_id: light.kitchen_led\n state: 'on'\n - condition: state\n entity_id: light.fl\n state: 'on'\n - condition: state\n entity_id: light.fr\n state: 'on'\n - condition: state\n entity_id: light.rl\n state: 'on'\n - condition: state\n entity_id: light.rr\n state: 'on'\n - condition: state\n entity_id: light.dining_west\n state: 'on'\n - condition: state\n entity_id: light.dining_east\n state: 'on'\n action:\n service: light.turn_off\n data:\n entity_id:\n - light.kitchen\n - light.kitchen_led\n - light.fl\n - light.fr\n - light.rl\n - light.rr\n - light.dining_west\n - light.dining_east",
"config": [
{
"name": "downstairs input",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.downstairs_input",
"device_id": null
}
},
{
"name": "kitchen light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen",
"device_id": null
}
},
{
"name": "kitchen led",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_led",
"device_id": null
}
},
{
"name": "fl light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.fl",
"device_id": null
}
},
{
"name": "fr light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.fr",
"device_id": null
}
},
{
"name": "rl light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.rl",
"device_id": null
}
},
{
"name": "rr light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.rr",
"device_id": null
}
},
{
"name": "dining west light",
"room": "dining",
"type": "light",
"id": {
"entity_id": "light.dining_west",
"device_id": null
}
},
{
"name": "dining east light",
"room": "dining",
"type": "light",
"id": {
"entity_id": "light.dining_east",
"device_id": null
}
}
]
},
{
"id": "gate_notify",
"automation": "- id: gate_notify\n alias: Gate Notify\n trigger:\n - platform: state\n entity_id: cover.gate\n to: opening\n condition:\n - condition: state\n entity_id: input_boolean.evie_mode\n state: 'on'\n - condition: time\n after: 04:30:00\n - condition: time\n before: '22:00:00'\n action:\n - service: tts.google_translate_say\n data:\n message: The gate is open.\n entity_id:\n - media_player.bedroom_speaker\n - media_player.den_display\n - media_player.kitchen_display\n - service: camera.snapshot\n data:\n filename: /config/www/garage.png\n entity_id: camera.g4_pro_high\n - service: notify.mobile_app_pixel\n data:\n message: The gate is open\n data:\n image: https://hassio.buktenica.com:8123/local/garage.png\n tag: gate\n sticky: 'true'",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "bedroom speaker",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.bedroom_speaker",
"device_id": null
}
},
{
"name": "kitchen display",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.kitchen_display",
"device_id": null
}
},
{
"name": "gate cover",
"room": null,
"type": "cover",
"id": {
"entity_id": "cover.gate",
"device_id": null
}
},
{
"name": "evie mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.evie_mode",
"device_id": null
}
},
{
"name": "den display",
"room": "den",
"type": "media_player",
"id": {
"entity_id": "media_player.den_display",
"device_id": null
}
},
{
"name": "g4 pro high camera",
"room": null,
"type": "camera",
"id": {
"entity_id": "camera.g4_pro_high",
"device_id": null
}
}
]
},
{
"id": "garage_door_close_leaving",
"automation": "- id: garage_door_close_leaving\n alias: Garage Door Close Leaving\n description: Close the Garage door when Lucy is leaving\n triggers:\n - entity_id: binary_sensor.ratgdo_obstruction\n to: 'off'\n for:\n seconds: 2\n trigger: state\n conditions:\n - condition: state\n entity_id: cover.gate\n state: open\n - condition: state\n entity_id: cover.garage_door\n state: open\n actions:\n - target:\n entity_id: cover.garage_door\n data: {}\n action: cover.close_cover\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - condition: state\n entity_id: binary_sensor.garage_rear_door\n state: 'off'\n - condition: state\n entity_id: cover.garage_door\n state: closed\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.garage_light",
"config": [
{
"name": "gate cover",
"room": null,
"type": "cover",
"id": {
"entity_id": "cover.gate",
"device_id": null
}
},
{
"name": "ratgdo obstruction",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.ratgdo_obstruction",
"device_id": null
}
},
{
"name": "garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "garage rear door",
"room": "garage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garage_rear_door",
"device_id": null
}
},
{
"name": "garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
}
]
},
{
"id": "'1702824777001'",
"automation": "- id: '1702824777001'\n alias: Light Night Backyard Light On\n description: Turns on the Backyard light when the rear bifold is opened.\n trigger:\n - entity_id: binary_sensor.rear_bifold_door\n platform: state\n to: 'on'\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'off'\n - condition: state\n entity_id: light.party_lights\n state: 'off'\n - condition: state\n entity_id: light.backyard_light\n state: 'off'\n action:\n - service: light.turn_on\n data:\n entity_id:\n - light.backyard_light\n - delay:\n minutes: 10\n - service: light.turn_off\n data:\n entity_id:\n - light.backyard_light\n mode: restart",
"config": [
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "rear bifold door",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.rear_bifold_door",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "party lights",
"room": null,
"type": "light",
"id": {
"entity_id": "light.party_lights",
"device_id": null
}
},
{
"name": "backyard light",
"room": "backyard",
"type": "light",
"id": {
"entity_id": "light.backyard_light",
"device_id": null
}
}
]
},
{
"id": "'1703032591707'",
"automation": "- id: '1703032591707'\n alias: Amp Fan Off\n description: Turn the Amp fan off when temp reached\n trigger:\n - platform: numeric_state\n entity_id: sensor.amp_temperature\n below: 27\n condition: []\n action:\n - service: fan.turn_off\n data:\n entity_id: fan.amp_fan\n mode: single",
"config": [
{
"name": "amp temperature sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.amp_temperature",
"device_id": null
}
},
{
"name": "amp fan",
"room": null,
"type": "fan",
"id": {
"entity_id": "fan.amp_fan",
"device_id": null
}
}
]
},
{
"id": "'1703032656513'",
"automation": "- id: '1703032656513'\n alias: Amp Fan Speed Change\n description: ''\n trigger:\n - platform: numeric_state\n entity_id: sensor.amp_temperature\n above: 27\n - platform: numeric_state\n entity_id: sensor.amp_temperature\n below: 30\n - platform: numeric_state\n entity_id: sensor.amp_temperature\n above: 30\n - platform: numeric_state\n entity_id: sensor.amp_temperature\n below: 32\n - platform: numeric_state\n entity_id: sensor.amp_temperature\n above: 32\n condition:\n - condition: and\n conditions:\n - condition: numeric_state\n entity_id: sensor.amp_temperature\n above: 27\n action:\n - service: fan.turn_on\n entity_id: fan.amp_fan\n - service: fan.set_percentage\n entity_id: fan.amp_fan\n data_template:\n percentage: '{% set temp = states(''sensor.amp_temperature'')|float %} {% if\n temp < 30 %} 1 {% elif temp < 32 %} 20 {% else %} 100 {% endif %}'\n mode: single",
"config": [
{
"name": "amp temperature sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.amp_temperature",
"device_id": null
}
},
{
"name": "amp fan",
"room": null,
"type": "fan",
"id": {
"entity_id": "fan.amp_fan",
"device_id": null
}
}
]
},
{
"id": "'1703032677772'",
"automation": "- id: '1703032677772'\n alias: Coffee Notify\n description: ''\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.coffee_power\n below: 500\n conditions:\n - condition: state\n entity_id: input_boolean.coffee_notify\n state: 'off'\n - condition: time\n after: 04:30:00\n - condition: time\n before: '21:00:00'\n - condition: state\n entity_id: switch.coffee_machine\n state: 'on'\n actions:\n - delay: 00:00:16\n - condition: numeric_state\n entity_id: sensor.coffee_power\n below: 500\n - action: media_player.volume_set\n metadata: {}\n data:\n volume_level: 0.6\n target:\n entity_id: media_player.bedroom_speaker\n - action: tts.google_translate_say\n data:\n message: The coffee machine is ready.\n entity_id: media_player.bedroom_speaker\n - action: input_boolean.turn_on\n data:\n entity_id:\n - input_boolean.coffee_notify\n - action: notify.mobile_app_pixel\n data:\n message: Coffee machine is ready\n data:\n tag: coffee\n - action: light.turn_on\n data:\n entity_id: light.kitchen\n - choose:\n - conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n sequence:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.stairway_light\n - action: light.turn_on\n metadata: {}\n data:\n brightness_step_pct: 50\n target:\n entity_id: light.entry\n mode: single",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "bedroom speaker",
"room": "bedroom",
"type": "media_player",
"id": {
"entity_id": "media_player.bedroom_speaker",
"device_id": null
}
},
{
"name": "kitchen light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "coffee power sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.coffee_power",
"device_id": null
}
},
{
"name": "coffee notify",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.coffee_notify",
"device_id": null
}
},
{
"name": "coffee machine switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.coffee_machine",
"device_id": null
}
},
{
"name": "stairway light",
"room": "stairway",
"type": "light",
"id": {
"entity_id": "light.stairway_light",
"device_id": null
}
},
{
"name": "entry light",
"room": "entry",
"type": "light",
"id": {
"entity_id": "light.entry",
"device_id": null
}
}
]
},
{
"id": "'1703032695615'",
"automation": "- id: '1703032695615'\n alias: Coffee Notify Reset on start\n description: ''\n triggers:\n - trigger: state\n entity_id: switch.coffee_machine\n to: 'on'\n conditions: []\n actions:\n - action: input_boolean.turn_on\n data:\n entity_id:\n - input_boolean.coffee_notify\n - delay: 00:02:00\n - action: input_boolean.turn_off\n data:\n entity_id:\n - input_boolean.coffee_notify\n mode: single",
"config": [
{
"name": "coffee notify",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.coffee_notify",
"device_id": null
}
},
{
"name": "coffee machine switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.coffee_machine",
"device_id": null
}
}
]
},
{
"id": "'1703032740519'",
"automation": "- id: '1703032740519'\n alias: Coffee Off\n description: Turns off the coffee machine when on too long.\n triggers:\n - trigger: state\n entity_id: switch.coffee_machine\n to: 'on'\n for:\n minutes: 30\n conditions: []\n actions:\n - action: media_player.volume_set\n metadata: {}\n data:\n volume_level: 0.6\n target:\n entity_id: media_player.kitchen_display\n - action: tts.google_translate_say\n data:\n message: The coffee machine is off\n entity_id: media_player.kitchen_display\n cache: true\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - condition: state\n entity_id: switch.coffee_machine\n state: 'on'\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - action: switch.turn_off\n data:\n entity_id:\n - switch.coffee_machine\n mode: single",
"config": [
{
"name": "kitchen display",
"room": "kitchen",
"type": "media_player",
"id": {
"entity_id": "media_player.kitchen_display",
"device_id": null
}
},
{
"name": "coffee machine switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.coffee_machine",
"device_id": null
}
}
]
},
{
"id": "'1703032755607'",
"automation": "- id: '1703032755607'\n alias: Coffee One Off On\n description: Turns off the coffee machine on a date set by GUI.\n triggers:\n - trigger: time\n at: input_datetime.coffee_time\n conditions:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n actions:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.coffee_machine\n mode: single",
"config": [
{
"name": "holiday mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.holiday_mode",
"device_id": null
}
},
{
"name": "coffee machine switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.coffee_machine",
"device_id": null
}
},
{
"name": "coffee time input datetime",
"room": null,
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.coffee_time",
"device_id": null
}
}
]
},
{
"id": "'1703032799319'",
"automation": "- id: '1703032799319'\n alias: Coffee Phone Notify Reset when off\n description: ''\n triggers:\n - trigger: state\n entity_id: switch.coffee_machine\n to: 'off'\n conditions: []\n actions:\n - action: notify.mobile_app_pixel\n data:\n message: clear_notification\n data:\n tag: coffee\n mode: single",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "coffee machine switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.coffee_machine",
"device_id": null
}
}
]
},
{
"id": "'1703032841151'",
"automation": "- id: '1703032841151'\n alias: Cover Sunset Blind Down Home\n description: Closes the lounge blind at sunset if the Bi Fold is closed and people\n are home.\n triggers:\n - event: sunset\n offset: 00:15:00\n trigger: sun\n conditions:\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'off'\n actions:\n - data:\n position: 0\n action: cover.set_cover_position\n target:\n entity_id: cover.lounge_night_s25_night_blind\n mode: single",
"config": [
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "lounge night s25 night blind",
"room": "lounge",
"type": "cover",
"id": {
"entity_id": "cover.lounge_night_s25_night_blind",
"device_id": null
}
}
]
},
{
"id": "'1703032854202'",
"automation": "- id: '1703032854202'\n alias: Cover Weekday Morning Blind Up\n description: Opens the lounge blinds on weekdays only.\n triggers:\n - at: 05:45:00\n trigger: time\n - event: sunrise\n offset: -00:15:00\n trigger: sun\n conditions:\n - condition: state\n entity_id: binary_sensor.workday_sensor\n state: 'on'\n - condition: sun\n after: sunrise\n after_offset: -00:16:00\n - condition: time\n after: 05:45:00\n actions:\n - data:\n position: 100\n action: cover.set_cover_position\n target:\n entity_id: cover.lounge_night_s25_night_blind\n mode: single",
"config": [
{
"name": "workday sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.workday_sensor",
"device_id": null
}
},
{
"name": "lounge night s25 night blind",
"room": "lounge",
"type": "cover",
"id": {
"entity_id": "cover.lounge_night_s25_night_blind",
"device_id": null
}
}
]
},
{
"id": "'1703032885187'",
"automation": "- id: '1703032885187'\n alias: Garage Closing Car Not Present\n description: Turn off the Garage light when the Garage door is closing\n trigger:\n - entity_id: cover.garage_door\n platform: state\n to: closing\n for:\n seconds: 10\n condition:\n - condition: state\n entity_id: binary_sensor.garage_rear_door\n state: 'off'\n - condition: not\n conditions:\n - condition: state\n entity_id: binary_sensor.car_present\n state: 'on'\n action:\n - service: light.turn_off\n data:\n entity_id:\n - light.garage_light\n mode: single",
"config": [
{
"name": "garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "garage rear door",
"room": "garage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garage_rear_door",
"device_id": null
}
},
{
"name": "garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "car present sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.car_present",
"device_id": null
}
}
]
},
{
"id": "'1703032897936'",
"automation": "- id: '1703032897936'\n alias: Garage Closing Car Present\n description: Turn off the Garage light when the Garage door is closing and the car\n is in the garage.\n triggers:\n - entity_id: cover.garage_door\n to: closing\n for:\n seconds: 10\n trigger: state\n - trigger: state\n entity_id:\n - binary_sensor.garage_rear_door\n from: 'on'\n to: 'off'\n conditions:\n - condition: state\n entity_id: binary_sensor.garage_rear_door\n state: 'off'\n - condition: state\n entity_id: binary_sensor.car_present\n state: 'on'\n actions:\n - delay:\n minutes: 5\n - condition: state\n entity_id: binary_sensor.garage_rear_door\n state: 'off'\n - data:\n entity_id:\n - light.garage_light\n action: light.turn_off\n mode: single",
"config": [
{
"name": "garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "garage rear door",
"room": "garage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garage_rear_door",
"device_id": null
}
},
{
"name": "garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
},
{
"name": "car present sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.car_present",
"device_id": null
}
}
]
},
{
"id": "'1703032913005'",
"automation": "- id: '1703032913005'\n alias: Garage Opening\n description: Turn on the Garage light when the Garage door is opening\n trigger:\n - entity_id: cover.garage_door\n platform: state\n to: opening\n condition: []\n action:\n - service: light.turn_on\n data:\n entity_id:\n - light.garage_light\n mode: single",
"config": [
{
"name": "garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
}
]
},
{
"id": "'1703032922802'",
"automation": "- id: '1703032922802'\n alias: Garage Rear Door Opening\n description: Turn on the Garage light when the Garage rear door is opening\n trigger:\n - entity_id: binary_sensor.garage_rear_door\n platform: state\n to: 'on'\n condition: []\n action:\n - service: light.turn_on\n data:\n entity_id:\n - light.garage_light\n mode: single",
"config": [
{
"name": "garage rear door",
"room": "garage",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garage_rear_door",
"device_id": null
}
},
{
"name": "garage light",
"room": "garage",
"type": "light",
"id": {
"entity_id": "light.garage_light",
"device_id": null
}
}
]
},
{
"id": "'1703032963205'",
"automation": "- id: '1703032963205'\n alias: Holiday Lights Off\n description: In holiday mode turn all the lights off after 22:00 with a random delay\n of 2 hours.\n trigger:\n - at: '22:00:00'\n platform: time\n condition:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'on'\n action:\n - delay: '{{ range(0, 120)|random|multiply(60) }}'\n - service: light.turn_off\n data:\n entity_id: all\n mode: single",
"config": [
{
"name": "holiday mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.holiday_mode",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703032973859'",
"automation": "- id: '1703032973859'\n alias: Holiday Lights On\n description: In holiday mode turn some of the lights on after sunset with a random\n delay.\n triggers:\n - event: sunset\n trigger: sun\n conditions:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'on'\n actions:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.entry\n - light.stairway_light\n - delay: '{{ range(15, 60)|random|multiply(60) }}'\n - data:\n entity_id:\n - light.rl_light\n - light.rr_light\n action: light.turn_on\n - delay: '{{ range(15, 60)|random|multiply(60) }}'\n - data:\n entity_id:\n - light.wardrobe_light\n action: light.turn_on\n mode: single",
"config": [
{
"name": "holiday mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.holiday_mode",
"device_id": null
}
},
{
"name": "rl light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.rl",
"device_id": null
}
},
{
"name": "rr light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.rr",
"device_id": null
}
},
{
"name": "stairway light",
"room": "stairway",
"type": "light",
"id": {
"entity_id": "light.stairway_light",
"device_id": null
}
},
{
"name": "entry light",
"room": "entry",
"type": "light",
"id": {
"entity_id": "light.entry",
"device_id": null
}
},
{
"name": "wardrobe light",
"room": "wardrobe",
"type": "light",
"id": {
"entity_id": "light.wardrobe_light",
"device_id": null
}
},
{
"name": "RL Light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.rl_light",
"device_id": null
}
},
{
"name": "RR Light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.rr_light",
"device_id": null
}
}
]
},
{
"id": "'1703032983564'",
"automation": "- id: '1703032983564'\n alias: Light Day Frontyard Light Off\n description: Turns off the front yard light in the morning.\n trigger:\n - platform: sun\n event: sunrise\n condition:\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'off'\n - condition: state\n entity_id: light.frontyard_light\n state: 'on'\n action:\n - service: light.turn_off\n data:\n entity_id:\n - light.frontyard_light\n mode: single",
"config": [
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "fr light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.fr",
"device_id": null
}
},
{
"name": "frontyard light",
"room": "frontyard",
"type": "light",
"id": {
"entity_id": "light.frontyard_light",
"device_id": null
}
}
]
},
{
"id": "'1703033014493'",
"automation": "- id: '1703033014493'\n alias: Light everyone away\n description: Turns off most of the lights when everyone is away\n trigger:\n - entity_id: input_select.beautiful_people\n platform: state\n from: everyone_home\n condition:\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'off'\n action:\n - service: light.turn_off\n data:\n entity_id:\n - light.fl\n - light.fr\n - light.rl\n - light.rr\n - condition: sun\n before: sunset\n before_offset: -00:30:00\n - condition: sun\n after: sunrise\n after_offset: 00:30:00\n - service: light.turn_off\n data:\n entity_id:\n - light.entry\n - light.stairway_light\n - light.wardrobe_light\n mode: single",
"config": [
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "fl light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.fl",
"device_id": null
}
},
{
"name": "fr light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.fr",
"device_id": null
}
},
{
"name": "rl light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.rl",
"device_id": null
}
},
{
"name": "rr light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.rr",
"device_id": null
}
},
{
"name": "stairway light",
"room": "stairway",
"type": "light",
"id": {
"entity_id": "light.stairway_light",
"device_id": null
}
},
{
"name": "entry light",
"room": "entry",
"type": "light",
"id": {
"entity_id": "light.entry",
"device_id": null
}
},
{
"name": "wardrobe light",
"room": "wardrobe",
"type": "light",
"id": {
"entity_id": "light.wardrobe_light",
"device_id": null
}
},
{
"name": "beautiful people input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.beautiful_people",
"device_id": null
}
}
]
},
{
"id": "'1703033028038'",
"automation": "- id: '1703033028038'\n alias: Light Garden Party Off\n description: Turn off the garden switch\n trigger:\n - entity_id: light.garden_lights\n platform: state\n to: 'off'\n - entity_id: light.party_lights\n platform: state\n to: 'off'\n condition:\n - condition: state\n entity_id: light.garden_lights\n state: 'off'\n - condition: state\n entity_id: light.party_lights\n state: 'off'\n action:\n - service: light.turn_off\n data:\n entity_id:\n - light.garden_switch\n mode: single",
"config": [
{
"name": "party lights",
"room": null,
"type": "light",
"id": {
"entity_id": "light.party_lights",
"device_id": null
}
},
{
"name": "garden lights",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_lights",
"device_id": null
}
},
{
"name": "garden switch",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_switch",
"device_id": null
}
}
]
},
{
"id": "'1703033040387'",
"automation": "- id: '1703033040387'\n alias: Light Garden Party On\n description: Turn on the garden switch\n trigger:\n - entity_id: light.garden_lights\n platform: state\n to: 'on'\n - entity_id: light.party_lights\n platform: state\n to: 'on'\n condition: []\n action:\n - service: light.turn_on\n data:\n entity_id:\n - light.garden_switch\n mode: single",
"config": [
{
"name": "party lights",
"room": null,
"type": "light",
"id": {
"entity_id": "light.party_lights",
"device_id": null
}
},
{
"name": "garden lights",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_lights",
"device_id": null
}
},
{
"name": "garden switch",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_switch",
"device_id": null
}
}
]
},
{
"id": "'1703033054063'",
"automation": "- id: '1703033054063'\n alias: Light Garden Switch Off\n description: Turn off the garden and party lights\n trigger:\n - entity_id: binary_sensor.garden_switch_input\n platform: state\n condition:\n - condition: state\n entity_id: light.garden_switch\n state: 'on'\n action:\n - service: light.turn_off\n data:\n entity_id:\n - light.garden_lights\n - light.party_lights\n - light.garden_switch\n - light.pot_wall_light\n mode: single",
"config": [
{
"name": "party lights",
"room": null,
"type": "light",
"id": {
"entity_id": "light.party_lights",
"device_id": null
}
},
{
"name": "garden lights",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_lights",
"device_id": null
}
},
{
"name": "garden switch",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_switch",
"device_id": null
}
},
{
"name": "pot wall light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.pot_wall_light",
"device_id": null
}
},
{
"name": "garden switch input",
"room": "garden",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garden_switch_input",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703033064675'",
"automation": "- id: '1703033064675'\n alias: Light Garden Switch On\n description: Turn on the garden and party lights\n triggers:\n - entity_id:\n - binary_sensor.garden_switch_input\n trigger: state\n from: 'off'\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.garden_switch\n state: 'off'\n actions:\n - data:\n entity_id:\n - light.garden_lights\n - light.party_lights\n - light.garden_switch\n - light.pot_wall_light\n action: light.turn_on\n mode: single",
"config": [
{
"name": "party lights",
"room": null,
"type": "light",
"id": {
"entity_id": "light.party_lights",
"device_id": null
}
},
{
"name": "garden lights",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_lights",
"device_id": null
}
},
{
"name": "garden switch",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.garden_switch",
"device_id": null
}
},
{
"name": "pot wall light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.pot_wall_light",
"device_id": null
}
},
{
"name": "garden switch input",
"room": "garden",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.garden_switch_input",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703033103448'",
"automation": "- id: '1703033103448'\n alias: Light Night Frontyard Door Light On\n description: Turns on the front yard light when the front door is opened.\n trigger:\n - entity_id: binary_sensor.entry_door\n platform: state\n to: 'on'\n - platform: state\n entity_id:\n - cover.gate\n from: closed\n - platform: state\n entity_id:\n - light.frontyard_light\n to: 'on'\n from: 'off'\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n action:\n - service: script.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: script.frontyard\n mode: restart",
"config": [
{
"name": "holiday mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.holiday_mode",
"device_id": null
}
},
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "fr light",
"room": null,
"type": "light",
"id": {
"entity_id": "light.fr",
"device_id": null
}
},
{
"name": "gate cover",
"room": null,
"type": "cover",
"id": {
"entity_id": "cover.gate",
"device_id": null
}
},
{
"name": "sun",
"room": null,
"type": "sun",
"id": {
"entity_id": "sun.sun",
"device_id": null
}
},
{
"name": "frontyard light",
"room": "frontyard",
"type": "light",
"id": {
"entity_id": "light.frontyard_light",
"device_id": null
}
},
{
"name": "entry door",
"room": "entry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.entry_door",
"device_id": null
}
},
{
"name": "frontyard script",
"room": "frontyard",
"type": "script",
"id": {
"entity_id": "script.frontyard",
"device_id": null
}
},
{
"name": "Turn On Script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.turn_on",
"device_id": null
}
}
]
},
{
"id": "'1703033125844'",
"automation": "- id: '1703033125844'\n alias: Light Strata Off\n description: Turn off the strata lights 1 hour after sunset.\n triggers:\n - event: sunset\n offset: 01:00:00\n trigger: sun\n conditions: []\n actions:\n - data:\n entity_id:\n - light.strata_lights\n action: light.turn_off\n - action: input_boolean.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.welding_mode\n mode: single",
"config": [
{
"name": "strata lights",
"room": null,
"type": "light",
"id": {
"entity_id": "light.strata_lights",
"device_id": null
}
},
{
"name": "welding mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.welding_mode",
"device_id": null
}
}
]
},
{
"id": "'1703033137006'",
"automation": "- id: '1703033137006'\n alias: Light Sunset Inside Lights On\n description: Turns On the inside lights 15 minutes before sunset.\n trigger:\n - event: sunset\n offset: -00:20:00\n platform: sun\n condition:\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'off'\n action:\n - service: light.turn_on\n data:\n entity_id:\n - light.stairway_light\n - light.entry_light\n - condition: state\n entity_id: input_select.beautiful_people\n state: everyone_away\n - service: light.turn_on\n data:\n entity_id:\n - light.wardrobe_light\n - light.dining_light\n mode: single",
"config": [
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "stairway light",
"room": "stairway",
"type": "light",
"id": {
"entity_id": "light.stairway_light",
"device_id": null
}
},
{
"name": "entry light",
"room": "entry",
"type": "light",
"id": {
"entity_id": "light.entry",
"device_id": null
}
},
{
"name": "entry light 2",
"room": "entry",
"type": "light",
"id": {
"entity_id": "light.entry_light",
"device_id": null
}
},
{
"name": "wardrobe light",
"room": "wardrobe",
"type": "light",
"id": {
"entity_id": "light.wardrobe_light",
"device_id": null
}
},
{
"name": "dining light",
"room": "dining",
"type": "light",
"id": {
"entity_id": "light.dining_light",
"device_id": null
}
},
{
"name": "beautiful people input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.beautiful_people",
"device_id": null
}
}
]
},
{
"id": "'1703033209185'",
"automation": "- id: '1703033209185'\n alias: Presence Doors Open\n description: Set when any of the doors are still open.\n trigger:\n - entity_id: binary_sensor.rear_bifold_door\n platform: state\n to: 'on'\n - entity_id: binary_sensor.entry_door\n platform: state\n to: 'on'\n - entity_id: binary_sensor.front_bifold_door\n platform: state\n to: 'on'\n condition: []\n action:\n - service: input_select.select_option\n target:\n entity_id: input_select.doors_opened\n data:\n option: closed\n mode: single",
"config": [
{
"name": "rear bifold door",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.rear_bifold_door",
"device_id": null
}
},
{
"name": "entry door",
"room": "entry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.entry_door",
"device_id": null
}
},
{
"name": "front bifold door",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_bifold_door",
"device_id": null
}
},
{
"name": "doors opened input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.doors_opened",
"device_id": null
}
}
]
},
{
"id": "'1703033221845'",
"automation": "- id: '1703033221845'\n alias: Presence Doors opened\n description: Set when any of the front doors have been opened and then all doors\n are closed.\n trigger:\n - entity_id: binary_sensor.entry_door\n platform: state\n to: 'off'\n for:\n seconds: 30\n - entity_id: binary_sensor.front_bifold_door\n platform: state\n to: 'off'\n for:\n seconds: 30\n condition:\n - condition: state\n entity_id: binary_sensor.entry_door\n state: 'off'\n - condition: state\n entity_id: binary_sensor.front_bifold_door\n state: 'off'\n - condition: state\n entity_id: binary_sensor.rear_bifold_door\n state: 'off'\n action:\n - service: input_select.select_option\n target:\n entity_id: input_select.doors_opened\n data:\n option: opened\n - delay:\n minutes: 10\n - service: input_select.select_option\n target:\n entity_id: input_select.doors_opened\n data:\n option: closed\n mode: restart",
"config": [
{
"name": "rear bifold door",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.rear_bifold_door",
"device_id": null
}
},
{
"name": "entry door",
"room": "entry",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.entry_door",
"device_id": null
}
},
{
"name": "front bifold door",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.front_bifold_door",
"device_id": null
}
},
{
"name": "doors opened input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.doors_opened",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703033282438'",
"automation": "- id: '1703033282438'\n alias: Presence Glen Away\n description: Set when Glen is away.\n trigger:\n - entity_id: device_tracker.glens_phone\n platform: state\n from: home\n - entity_id: device_tracker.glen_ping\n platform: state\n from: home\n condition:\n - condition: state\n entity_id: input_select.doors_opened\n state: opened\n - condition: state\n entity_id: input_select.glen_presence\n state: home\n action:\n - service: input_select.select_option\n target:\n entity_id: input_select.glen_presence\n data:\n option: away\n - condition: state\n entity_id: input_select.nat_presence\n state: home\n - service: input_select.select_option\n target:\n entity_id: input_select.beautiful_people\n data:\n option: someone_away\n mode: single",
"config": [
{
"name": "doors opened input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.doors_opened",
"device_id": null
}
},
{
"name": "glens phone tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.glens_phone",
"device_id": null
}
},
{
"name": "glen ping tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.glen_ping",
"device_id": null
}
},
{
"name": "glen presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.glen_presence",
"device_id": null
}
},
{
"name": "nat presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.nat_presence",
"device_id": null
}
},
{
"name": "beautiful people input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.beautiful_people",
"device_id": null
}
}
]
},
{
"id": "'1703033335762'",
"automation": "- id: '1703033335762'\n alias: Presence Glen Home\n description: Set when Glen is home.\n trigger:\n - entity_id: device_tracker.glens_phone\n platform: state\n to: home\n for:\n minutes: 2\n condition:\n - condition: state\n entity_id: input_select.glen_presence\n state: away\n action:\n - service: input_select.select_option\n target:\n entity_id: input_select.glen_presence\n data:\n option: home\n - delay:\n minutes: 3\n - service: input_select.select_option\n target:\n entity_id: input_select.doors_opened\n data:\n option: closed\n mode: single",
"config": [
{
"name": "doors opened input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.doors_opened",
"device_id": null
}
},
{
"name": "glens phone tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.glens_phone",
"device_id": null
}
},
{
"name": "glen presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.glen_presence",
"device_id": null
}
}
]
},
{
"id": "'1703033346831'",
"automation": "- id: '1703033346831'\n alias: Presence Glen Long Away\n description: Set when Nat is away for over 8 minutes and all trackers are away.\n trigger:\n - entity_id: device_tracker.glen_unifi\n platform: state\n from: home\n for:\n minutes: 8\n - entity_id: device_tracker.glens_phone\n platform: state\n from: home\n for:\n minutes: 4\n - entity_id: device_tracker.glen_ping\n platform: state\n from: home\n for:\n minutes: 8\n condition:\n - condition: state\n entity_id: input_select.glen_presence\n state: home\n - condition: state\n entity_id: device_tracker.glen_unifi\n state: away\n - condition: state\n entity_id: device_tracker.glens_phone\n state: away\n - condition: state\n entity_id: device_tracker.glen_ping\n state: away\n action:\n - service: input_select.select_option\n target:\n entity_id: input_select.glen_presence\n data:\n option: away\n - condition: state\n entity_id: input_select.nat_presence\n state: home\n - service: input_select.select_option\n target:\n entity_id: input_select.beautiful_people\n data:\n option: someone_away\n mode: single",
"config": [
{
"name": "glens phone tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.glens_phone",
"device_id": null
}
},
{
"name": "glen ping tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.glen_ping",
"device_id": null
}
},
{
"name": "glen presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.glen_presence",
"device_id": null
}
},
{
"name": "nat presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.nat_presence",
"device_id": null
}
},
{
"name": "beautiful people input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.beautiful_people",
"device_id": null
}
},
{
"name": "glen unifi tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.glen_unifi",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703033590760'",
"automation": "- id: '1703033590760'\n alias: Presence Nat Away\n description: Set when Nat is away.\n trigger:\n - entity_id: device_tracker.nat_unifi\n platform: state\n from: home\n for:\n minutes: 4\n - entity_id: device_tracker.nat_iphonedetect\n platform: state\n from: home\n condition:\n - condition: state\n entity_id: input_select.doors_opened\n state: opened\n - condition: state\n entity_id: input_select.nat_presence\n state: home\n action:\n - service: input_select.select_option\n target:\n entity_id: input_select.nat_presence\n data:\n option: away\n - condition: state\n entity_id: input_select.glen_presence\n state: home\n - service: input_select.select_option\n target:\n entity_id: input_select.beautiful_people\n data:\n option: someone_away\n - service: notify.mobile_app_pixel\n data:\n message: Nat is away.\n data:\n tag: nat\n mode: single",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "doors opened input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.doors_opened",
"device_id": null
}
},
{
"name": "glen presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.glen_presence",
"device_id": null
}
},
{
"name": "nat presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.nat_presence",
"device_id": null
}
},
{
"name": "beautiful people input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.beautiful_people",
"device_id": null
}
},
{
"name": "nat unifi tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.nat_unifi",
"device_id": null
}
},
{
"name": "nat iphonedetect tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.nat_iphonedetect",
"device_id": null
}
}
]
},
{
"id": "'1703033618536'",
"automation": "- id: '1703033618536'\n alias: Presence People Away\n description: Testing when people are away.\n trigger:\n - entity_id: input_select.glen_presence\n platform: state\n from: home\n - entity_id: input_select.nat_presence\n platform: state\n from: home\n condition:\n - condition: not\n conditions:\n - condition: state\n entity_id: input_select.glen_presence\n state: home\n - condition: state\n entity_id: input_select.nat_presence\n state: home\n action:\n - service: input_select.select_option\n target:\n entity_id: input_select.beautiful_people\n data:\n option: everyone_away\n mode: single",
"config": [
{
"name": "glen presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.glen_presence",
"device_id": null
}
},
{
"name": "nat presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.nat_presence",
"device_id": null
}
},
{
"name": "beautiful people input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.beautiful_people",
"device_id": null
}
}
]
},
{
"id": "'1703033636549'",
"automation": "- id: '1703033636549'\n alias: Presence People Home\n description: Testing when people are home.\n trigger:\n - entity_id: input_select.glen_presence\n platform: state\n to: home\n - entity_id: input_select.nat_presence\n platform: state\n to: home\n condition:\n - condition: state\n entity_id: input_select.glen_presence\n state: home\n - condition: state\n entity_id: input_select.nat_presence\n state: home\n action:\n - service: input_select.select_option\n target:\n entity_id: input_select.beautiful_people\n data:\n option: everyone_home\n mode: single",
"config": [
{
"name": "glen presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.glen_presence",
"device_id": null
}
},
{
"name": "nat presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.nat_presence",
"device_id": null
}
},
{
"name": "beautiful people input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.beautiful_people",
"device_id": null
}
}
]
},
{
"id": "'1703033703206'",
"automation": "- id: '1703033703206'\n alias: Server Fan Speed Change\n description: ''\n trigger:\n - platform: numeric_state\n entity_id: sensor.server_temperature\n above: 26\n - platform: numeric_state\n entity_id: sensor.server_temperature\n below: 28\n - platform: numeric_state\n entity_id: sensor.server_temperature\n above: 28\n - platform: numeric_state\n entity_id: sensor.server_temperature\n below: 30\n - platform: numeric_state\n entity_id: sensor.server_temperature\n above: 30\n condition:\n - condition: and\n conditions:\n - condition: numeric_state\n entity_id: sensor.server_temperature\n above: 26\n action:\n - service: fan.turn_on\n entity_id: fan.server_fan\n - service: fan.set_percentage\n entity_id: fan.server_fan\n data_template:\n percentage: '{% set temp = states(''sensor.server_temperature'')|float %} {%\n if temp < 28 %} 85 {% elif temp < 30 %} 92 {% else %} 100 {% endif %}'\n mode: single",
"config": [
{
"name": "server temperature sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.server_temperature",
"device_id": null
}
},
{
"name": "server fan",
"room": null,
"type": "fan",
"id": {
"entity_id": "fan.server_fan",
"device_id": null
}
}
]
},
{
"id": "'1703033718442'",
"automation": "- id: '1703033718442'\n alias: Server Fan Off\n description: ''\n trigger:\n - platform: numeric_state\n entity_id: sensor.server_temperature\n below: 26\n condition: []\n action:\n - service: fan.turn_off\n entity_id: fan.server_fan\n mode: single",
"config": [
{
"name": "server temperature sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.server_temperature",
"device_id": null
}
},
{
"name": "server fan",
"room": null,
"type": "fan",
"id": {
"entity_id": "fan.server_fan",
"device_id": null
}
}
]
},
{
"id": "'1703033778440'",
"automation": "- id: '1703033778440'\n alias: Tesla Charging Stop\n description: ''\n triggers:\n - trigger: time\n at: '14:59:00'\n - trigger: state\n entity_id: binary_sensor.tesla_wall_connector_contactor_closed\n to: 'on'\n - trigger: state\n entity_id:\n - sensor.lucy_battery\n to: '50'\n - trigger: state\n entity_id:\n - sensor.lucy_battery\n to: '51'\n conditions:\n - condition: state\n entity_id: binary_sensor.tesla_wall_connector_contactor_closed\n state: 'on'\n - condition: state\n entity_id: input_boolean.charging_override\n state: 'off'\n actions:\n - if:\n - condition: numeric_state\n entity_id: sensor.lucy_battery\n above: 49\n - condition: time\n before: 09:00:00\n after: '14:58:00'\n then:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.lucy_charger\n mode: single",
"config": [
{
"name": "tesla wall connector contactor closed",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.tesla_wall_connector_contactor_closed",
"device_id": null
}
},
{
"name": "lucy battery sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.lucy_battery",
"device_id": null
}
},
{
"name": "charging override",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.charging_override",
"device_id": null
}
},
{
"name": "lucy charger switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.lucy_charger",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703033987206'",
"automation": "- id: '1703033987206'\n alias: Tesla Solar Charging less\n description: ''\n triggers:\n - entity_id: sensor.energy_meter_total_watts\n above: '200'\n for:\n minutes: 2\n trigger: numeric_state\n - entity_id: sensor.energy_meter_total_watts\n above: '200'\n for:\n minutes: 4\n trigger: numeric_state\n - entity_id: sensor.energy_meter_total_watts\n above: '200'\n for:\n minutes: 6\n trigger: numeric_state\n - entity_id: sensor.energy_meter_total_watts\n above: '200'\n for:\n minutes: 8\n trigger: numeric_state\n - entity_id: binary_sensor.tesla_wall_connector_contactor_closed\n to: 'on'\n for:\n minutes: 2\n trigger: state\n - trigger: state\n entity_id:\n - sensor.lucy_battery\n to: '50'\n conditions:\n - condition: state\n entity_id: binary_sensor.tesla_wall_connector_contactor_closed\n state: 'on'\n - condition: state\n entity_id: input_boolean.charging_override\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.energy_meter_total_watts\n above: '220'\n - condition: numeric_state\n entity_id: sensor.lucy_battery\n above: 49\n actions:\n - data_template:\n entity_id: number.lucy_charging_amps\n value: \"{% set charging = (states('number.lucy_charging_amps')|int) %} {% set\\\n \\ grid = (states('sensor.energy_meter_total_watts')|int) %} {% if grid > 7000\\\n \\ %}\\n {% set result = charging - 15 | int %}\\n{% elif grid > 6000 %}\\n \\\n \\ {% set result = charging - 13 | int %}\\n{% elif grid > 5000 %}\\n {% set\\\n \\ result = charging - 12 | int %}\\n{% elif grid > 4500 %}\\n {% set result\\\n \\ = charging - 11 | int %}\\n{% elif grid > 3000 %}\\n {% set result = charging\\\n \\ - 8 | int %}\\n{% elif grid > 2200 %}\\n {% set result = charging - 5 | int\\\n \\ %}\\n{% elif grid > 1700 %}\\n {% set result = charging - 4 | int %}\\n{%\\\n \\ elif grid > 1400 %}\\n {% set result = charging - 3 | int %}\\n{% elif grid\\\n \\ > 700 %}\\n {% set result = charging - 2 | int %}\\n{% else %}\\n {% set\\\n \\ result = charging - 1 | int %}\\n{% endif %} {% if result < 0 %}\\n {% set\\\n \\ result = 0 %}\\n{% endif %} {{ result }}\\n\"\n action: number.set_value\n - delay:\n minutes: 1\n - target:\n entity_id: button.lucy_force_data_update\n data: {}\n action: button.press\n - delay:\n seconds: 10\n - choose:\n - conditions:\n - condition: time\n after: '15:00:00'\n sequence:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.lucy_charger\n mode: single\n max_exceeded: silent",
"config": [
{
"name": "tesla wall connector contactor closed",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.tesla_wall_connector_contactor_closed",
"device_id": null
}
},
{
"name": "lucy battery sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.lucy_battery",
"device_id": null
}
},
{
"name": "charging override",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.charging_override",
"device_id": null
}
},
{
"name": "lucy charger switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.lucy_charger",
"device_id": null
}
},
{
"name": "energy meter total watts sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.energy_meter_total_watts",
"device_id": null
}
},
{
"name": "lucy charging amps number",
"room": null,
"type": "number",
"id": {
"entity_id": "number.lucy_charging_amps",
"device_id": null
}
},
{
"name": "lucy force data update button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.lucy_force_data_update",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703034358078'",
"automation": "- id: '1703034358078'\n alias: Tesla Solar Charging More\n description: ''\n trigger:\n - platform: numeric_state\n entity_id: sensor.energy_meter_total_watts\n below: '-850'\n for:\n minutes: 2\n - platform: numeric_state\n entity_id: sensor.energy_meter_total_watts\n below: '-850'\n for:\n minutes: 4\n - platform: state\n entity_id: binary_sensor.tesla_wall_connector_contactor_closed\n to: 'on'\n for:\n minutes: 2\n condition:\n - condition: state\n entity_id: binary_sensor.tesla_wall_connector_contactor_closed\n state: 'on'\n - condition: state\n entity_id: input_boolean.charging_override\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.energy_meter_total_watts\n below: '-850'\n action:\n - service: number.set_value\n data_template:\n entity_id: number.lucy_charging_amps\n value: \"{% set charge = (states('number.lucy_charging_amps')|int) %} {% set\\\n \\ grid = (states('sensor.energy_meter_total_watts')|int) %} {% if grid < -3800\\\n \\ %}\\n {% set result = charge + 5 |int %}\\n{% elif grid < -3000 %}\\n {%\\\n \\ set result = charge + 4 |int %}\\n{% elif grid < -2300 %}\\n {% set result\\\n \\ = charge + 3 |int %}\\n{% elif grid < -1700 %}\\n {% set result = charge\\\n \\ + 2 |int %}\\n{% else %}\\n {% set result = charge + 1 |int %}\\n{% endif\\\n \\ %} {{ result }}\\n\"\n - delay:\n minutes: 1\n - service: button.press\n target:\n entity_id: button.lucy_force_data_update\n data: {}\n - service: notify.mobile_app_pixel\n data:\n message: clear_notification\n data:\n tag: charging\n - delay:\n seconds: 10\n mode: single\n max_exceeded: silent",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "tesla wall connector contactor closed",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.tesla_wall_connector_contactor_closed",
"device_id": null
}
},
{
"name": "charging override",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.charging_override",
"device_id": null
}
},
{
"name": "energy meter total watts sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.energy_meter_total_watts",
"device_id": null
}
},
{
"name": "lucy charging amps number",
"room": null,
"type": "number",
"id": {
"entity_id": "number.lucy_charging_amps",
"device_id": null
}
},
{
"name": "lucy force data update button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.lucy_force_data_update",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703034369179'",
"automation": "- id: '1703034369179'\n alias: Tesla Solar Charging Start\n description: ''\n triggers:\n - entity_id: sensor.energy_meter_total_watts\n below: '-900'\n for: 00:05:00\n trigger: numeric_state\n - at: 09:05:00\n trigger: time\n - entity_id: binary_sensor.tesla_wall_connector_vehicle_connected\n to: 'on'\n trigger: state\n conditions:\n - condition: state\n entity_id: binary_sensor.tesla_wall_connector_vehicle_connected\n state: 'on'\n - condition: template\n value_template: '{{ (states(''sensor.lucy_battery'') | int + 2 ) < states(''number.lucy_charge_limit'')\n | int }}'\n - condition: time\n after: 09:00:00\n before: '15:00:00'\n - condition: not\n conditions:\n - condition: state\n entity_id: input_select.charging_mode\n state: Manual\n actions:\n - if:\n - condition: state\n entity_id: binary_sensor.tesla_wall_connector_contactor_closed\n state: 'off'\n then:\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: switch.lucy_charger\n - delay:\n hours: 0\n minutes: 1\n seconds: 0\n milliseconds: 0\n - target:\n entity_id: button.lucy_force_data_update\n data: {}\n action: button.press\n - data:\n message: clear_notification\n data:\n tag: charging\n action: notify.mobile_app_pixel\n enabled: false\n - if:\n - condition: numeric_state\n entity_id: sensor.lucy_battery\n below: 50\n then:\n - action: number.set_value\n metadata: {}\n data:\n value: '16'\n target:\n entity_id: number.lucy_charging_amps\n mode: single",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "tesla wall connector contactor closed",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.tesla_wall_connector_contactor_closed",
"device_id": null
}
},
{
"name": "lucy battery sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.lucy_battery",
"device_id": null
}
},
{
"name": "lucy charger switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.lucy_charger",
"device_id": null
}
},
{
"name": "energy meter total watts sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.energy_meter_total_watts",
"device_id": null
}
},
{
"name": "lucy charging amps number",
"room": null,
"type": "number",
"id": {
"entity_id": "number.lucy_charging_amps",
"device_id": null
}
},
{
"name": "lucy force data update button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.lucy_force_data_update",
"device_id": null
}
},
{
"name": "tesla wall connector vehicle connected",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.tesla_wall_connector_vehicle_connected",
"device_id": null
}
},
{
"name": "lucy charge limit number",
"room": null,
"type": "number",
"id": {
"entity_id": "number.lucy_charge_limit",
"device_id": null
}
},
{
"name": "charging mode input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.charging_mode",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703034379747'",
"automation": "- id: '1703034379747'\n alias: Washing Alarm Acknowledged\n description: Clear the washing machine finished notification\n trigger:\n - platform: time\n at: '22:00:00'\n - platform: event\n event_type: mobile_app_notification_action\n event_data:\n action: acknowledge_washing\n - platform: state\n entity_id: input_boolean.washing_finished\n to: 'off'\n condition: []\n action:\n - service: input_boolean.turn_off\n data:\n entity_id: input_boolean.washing_finished\n - service: notify.mobile_app_pixel\n data:\n message: clear_notification\n data:\n tag: washing\n mode: single",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "washing finished",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washing_finished",
"device_id": null
}
}
]
},
{
"id": "'1703034389653'",
"automation": "- id: '1703034389653'\n alias: Washing Finished\n description: ''\n trigger:\n - platform: numeric_state\n entity_id:\n - sensor.washer_power\n below: 5\n for:\n hours: 0\n minutes: 3\n seconds: 0\n condition:\n - condition: time\n after: 05:00:00\n before: '22:00:00'\n - condition: state\n entity_id: input_boolean.washing_running\n state: 'on'\n action:\n - service: input_boolean.turn_off\n data:\n entity_id: input_boolean.washing_running\n - service: input_boolean.turn_on\n data:\n entity_id: input_boolean.washing_finished\n mode: single",
"config": [
{
"name": "washing finished",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washing_finished",
"device_id": null
}
},
{
"name": "washing running",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washing_running",
"device_id": null
}
},
{
"name": "washer power sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.washer_power",
"device_id": null
}
}
]
},
{
"id": "'1703034398056'",
"automation": "- id: '1703034398056'\n alias: Washing Finished Notification\n description: ''\n trigger:\n - platform: state\n entity_id: input_boolean.washing_finished\n to: 'on'\n - platform: state\n entity_id: input_boolean.washing_finished\n to: 'on'\n for:\n minutes: 10\n - platform: state\n entity_id: input_boolean.washing_finished\n to: 'on'\n for:\n minutes: 20\n - platform: state\n entity_id: input_boolean.washing_finished\n to: 'on'\n for:\n minutes: 60\n condition:\n - condition: time\n after: 05:00:00\n before: '22:00:00'\n - condition: state\n entity_id: input_boolean.washing_running\n state: 'off'\n action:\n - service: script.turn_on\n entity_id: script.washing_notify\n mode: single",
"config": [
{
"name": "washing finished",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washing_finished",
"device_id": null
}
},
{
"name": "washing running",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washing_running",
"device_id": null
}
},
{
"name": "washing notify script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.washing_notify",
"device_id": null
}
},
{
"name": "Turn On Script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.turn_on",
"device_id": null
}
}
]
},
{
"id": "'1703034407474'",
"automation": "- id: '1703034407474'\n alias: Washing Started\n description: ''\n trigger:\n - platform: numeric_state\n entity_id:\n - sensor.washer_power\n above: 20\n for:\n minutes: 2\n condition:\n - condition: state\n entity_id: input_boolean.washing_running\n state: 'off'\n action:\n - service: input_boolean.turn_on\n data:\n entity_id: input_boolean.washing_running\n - service: input_boolean.turn_off\n data:\n entity_id: input_boolean.washing_finished\n mode: single",
"config": [
{
"name": "washing finished",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washing_finished",
"device_id": null
}
},
{
"name": "washing running",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.washing_running",
"device_id": null
}
},
{
"name": "washer power sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.washer_power",
"device_id": null
}
}
]
},
{
"id": "'1703034538857'",
"automation": "- id: '1703034538857'\n alias: Presence Nat Home\n description: Set when Nat is home.\n trigger:\n - entity_id: device_tracker.nat_unifi\n platform: state\n to: home\n - entity_id: device_tracker.nat_iphonedetect\n platform: state\n to: home\n - entity_id: device_tracker.nat_ping\n platform: state\n to: home\n condition:\n - condition: state\n entity_id: input_select.nat_presence\n state: away\n action:\n - service: input_select.select_option\n target:\n entity_id: input_select.nat_presence\n data:\n option: home\n - delay:\n minutes: 3\n - service: input_select.select_option\n target:\n entity_id: input_select.doors_opened\n data:\n option: closed\n - service: notify.mobile_app_pixel\n data:\n message: clear_notification\n data:\n tag: nat\n mode: single",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "doors opened input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.doors_opened",
"device_id": null
}
},
{
"name": "nat presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.nat_presence",
"device_id": null
}
},
{
"name": "nat unifi tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.nat_unifi",
"device_id": null
}
},
{
"name": "nat iphonedetect tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.nat_iphonedetect",
"device_id": null
}
},
{
"name": "nat ping tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.nat_ping",
"device_id": null
}
}
]
},
{
"id": "'1703034573354'",
"automation": "- id: '1703034573354'\n alias: Presence Nat Long Away Day\n description: Set when Nat is away for over 8 minutes during the day and all trackers\n away.\n trigger:\n - entity_id: device_tracker.nat_unifi\n platform: state\n from: home\n for:\n minutes: 8\n - entity_id: device_tracker.nat_iphonedetect\n platform: state\n from: home\n for:\n minutes: 8\n - entity_id: device_tracker.nat_unifi\n platform: state\n from: home\n for:\n minutes: 12\n - entity_id: device_tracker.nat_iphonedetect\n platform: state\n from: home\n for:\n minutes: 12\n - entity_id: device_tracker.nat_unifi\n platform: state\n from: home\n for:\n minutes: 20\n - entity_id: device_tracker.nat_iphonedetect\n platform: state\n from: home\n for:\n minutes: 20\n condition:\n - condition: state\n entity_id: input_select.nat_presence\n state: home\n - condition: time\n after: 05:00:00\n before: '22:00:00'\n - condition: state\n entity_id: device_tracker.nat_iphonedetect\n state: away\n - condition: state\n entity_id: device_tracker.nat_unifi\n state: away\n action:\n - service: input_select.select_option\n target:\n entity_id: input_select.nat_presence\n data:\n option: Away\n - condition: state\n entity_id: input_select.glen_presence\n state: home\n - service: input_select.select_option\n target:\n entity_id: input_select.beautiful_people\n data:\n option: someone_away\n - service: notify.mobile_app_pixel\n data:\n message: Nat is long away day.\n mode: single",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "glen presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.glen_presence",
"device_id": null
}
},
{
"name": "nat presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.nat_presence",
"device_id": null
}
},
{
"name": "beautiful people input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.beautiful_people",
"device_id": null
}
},
{
"name": "nat unifi tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.nat_unifi",
"device_id": null
}
},
{
"name": "nat iphonedetect tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.nat_iphonedetect",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703034583463'",
"automation": "- id: '1703034583463'\n alias: Presence Nat Long Away Night\n description: Set when Nat is away for over 30 minutes at night and all trackers\n away.\n trigger:\n - entity_id: device_tracker.nat_unifi\n platform: state\n from: home\n for:\n minutes: 30\n - entity_id: device_tracker.nat_iphonedetect\n platform: state\n from: home\n for:\n minutes: 30\n - entity_id: device_tracker.nat_unifi\n platform: state\n from: home\n for:\n minutes: 40\n - entity_id: device_tracker.nat_iphonedetect\n platform: state\n from: home\n for:\n minutes: 40\n condition:\n - condition: state\n entity_id: input_select.nat_presence\n state: home\n - condition: time\n before: 05:00:00\n after: '22:00:00'\n - condition: state\n entity_id: device_tracker.nat_unifi\n state: away\n - condition: state\n entity_id: device_tracker.nat_iphonedetect\n state: away\n action:\n - service: notify.mobile_app_pixel\n data:\n message: Nat is long away night.\n - service: input_select.select_option\n target:\n entity_id: input_select.nat_presence\n data:\n option: away\n - condition: state\n entity_id: input_select.glen_presence\n state: home\n - service: input_select.select_option\n target:\n entity_id: input_select.beautiful_people\n data:\n option: someone_away\n mode: single",
"config": [
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "glen presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.glen_presence",
"device_id": null
}
},
{
"name": "nat presence input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.nat_presence",
"device_id": null
}
},
{
"name": "beautiful people input select",
"room": null,
"type": "input_select",
"id": {
"entity_id": "input_select.beautiful_people",
"device_id": null
}
},
{
"name": "nat unifi tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.nat_unifi",
"device_id": null
}
},
{
"name": "nat iphonedetect tracker",
"room": null,
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.nat_iphonedetect",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703034619143'",
"automation": "- id: '1703034619143'\n alias: Tesla Charging Stopped\n description: ''\n triggers:\n - entity_id:\n - binary_sensor.tesla_wall_connector_contactor_closed\n to: 'off'\n from: 'on'\n trigger: state\n conditions: []\n actions:\n - target:\n entity_id: button.lucy_force_data_update\n data: {}\n action: button.press\n - delay:\n seconds: 10\n mode: single",
"config": [
{
"name": "tesla wall connector contactor closed",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.tesla_wall_connector_contactor_closed",
"device_id": null
}
},
{
"name": "lucy force data update button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.lucy_force_data_update",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1703854060013'",
"automation": "- id: '1703854060013'\n alias: Turn off Evie Mode\n description: ''\n triggers:\n - trigger: time\n at: '22:00:00'\n conditions: []\n actions:\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.evie_mode\n data: {}\n mode: single",
"config": [
{
"name": "evie mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.evie_mode",
"device_id": null
}
}
]
},
{
"id": "'1704161098822'",
"automation": "- id: '1704161098822'\n alias: Retic\n description: Run Retic Script\n triggers:\n - trigger: time\n at: 06:10:00\n conditions:\n - condition: template\n value_template: '{{ now().month in [1,2,3,4,5,9,10,11,12] }}'\n - condition: time\n weekday:\n - mon\n - fri\n - wed\n - sun\n actions:\n - action: script.turn_on\n target:\n entity_id: script.retic\n data: {}\n mode: single",
"config": [
{
"name": "retic script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.retic",
"device_id": null
}
},
{
"name": "Turn On Script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.turn_on",
"device_id": null
}
}
]
},
{
"id": "'1706609273483'",
"automation": "- id: '1706609273483'\n alias: Tesla Garage Door\n description: Open the Garage Door when the Tesla Homelink Garage Button is detected\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.tesla_gate\n to: 'off'\n condition: []\n action:\n - service: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.ratgdo_toggle_door\n mode: single",
"config": [
{
"name": "tesla gate sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.tesla_gate",
"device_id": null
}
},
{
"name": "ratgdo toggle door button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.ratgdo_toggle_door",
"device_id": null
}
}
]
},
{
"id": "'1712211097131'",
"automation": "- id: '1712211097131'\n alias: Coffee Morning\n description: ''\n triggers:\n - trigger: time\n at: 05:32:00\n conditions:\n - condition: state\n entity_id: binary_sensor.workday_sensor\n state: 'on'\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n actions:\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: switch.coffee_machine\n mode: single",
"config": [
{
"name": "holiday mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.holiday_mode",
"device_id": null
}
},
{
"name": "workday sensor",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.workday_sensor",
"device_id": null
}
},
{
"name": "coffee machine switch",
"room": null,
"type": "switch",
"id": {
"entity_id": "switch.coffee_machine",
"device_id": null
}
}
]
},
{
"id": "'1719729521233'",
"automation": "- id: '1719729521233'\n alias: Light Kitchen LED Button\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.kitchen_power_button\n condition: []\n action:\n - service: light.toggle\n metadata: {}\n data: {}\n target:\n entity_id: light.kitchen_led\n mode: single",
"config": [
{
"name": "kitchen light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen",
"device_id": null
}
},
{
"name": "kitchen led",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_led",
"device_id": null
}
},
{
"name": "kitchen power button",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_power_button",
"device_id": null
}
}
]
},
{
"id": "'1723348172989'",
"automation": "- id: '1723348172989'\n alias: Zone2 Off\n description: ''\n triggers:\n - value_template: '{% if not (is_state_attr(''media_player.lounge_amp'', ''source'',\n ''Media Player'') or is_state_attr(''media_player.lounge_amp'', ''source'',\n ''HEOS Music'')) %} true {% else %} false {% endif %}\n\n '\n trigger: template\n conditions:\n - condition: state\n entity_id: media_player.lounge_amp_2\n state: 'on'\n actions:\n - action: media_player.turn_off\n target:\n entity_id:\n - media_player.lounge_amp_2\n - media_player.lounge_amp_3\n - media_player.zone_11\n - media_player.zone_13\n - media_player.zone_12\n data: {}\n mode: single",
"config": [
{
"name": "lounge amp 2",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp_2",
"device_id": null
}
},
{
"name": "lounge amp",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp",
"device_id": null
}
},
{
"name": "lounge amp 3",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp_3",
"device_id": null
}
},
{
"name": "zone 11",
"room": null,
"type": "media_player",
"id": {
"entity_id": "media_player.zone_11",
"device_id": null
}
},
{
"name": "zone 13",
"room": null,
"type": "media_player",
"id": {
"entity_id": "media_player.zone_13",
"device_id": null
}
},
{
"name": "zone 12",
"room": null,
"type": "media_player",
"id": {
"entity_id": "media_player.zone_12",
"device_id": null
}
}
]
},
{
"id": "'1726920393066'",
"automation": "- id: '1726920393066'\n alias: Aux Speakers Off\n description: ''\n trigger:\n - platform: state\n entity_id:\n - media_player.lounge_amp\n to: 'off'\n from: 'on'\n condition: []\n action:\n - data:\n entity_id:\n - media_player.zone_11\n - media_player.zone_12\n action: media_player.turn_off\n mode: single",
"config": [
{
"name": "lounge amp",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp",
"device_id": null
}
},
{
"name": "zone 11",
"room": null,
"type": "media_player",
"id": {
"entity_id": "media_player.zone_11",
"device_id": null
}
},
{
"name": "zone 12",
"room": null,
"type": "media_player",
"id": {
"entity_id": "media_player.zone_12",
"device_id": null
}
}
]
},
{
"id": "'1729417212362'",
"automation": "- id: '1729417212362'\n alias: Zone 2 On\n description: Turn on Denon Zone 2 when music playing\n triggers:\n - trigger: template\n value_template: '{% if is_state_attr(''media_player.lounge_amp'', ''source'',\n ''Media Player'') %} true {% else %} false {% endif %}'\n - trigger: template\n value_template: '{% if is_state_attr(''media_player.lounge_amp'', ''source'',\n ''HEOS Music'') %} true {% else %} false {% endif %}'\n conditions: []\n actions:\n - action: media_player.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: media_player.lounge_amp_2\n - delay:\n hours: 0\n minutes: 0\n seconds: 15\n milliseconds: 0\n - action: media_player.volume_set\n metadata: {}\n data:\n volume_level: 0.8\n target:\n entity_id: media_player.lounge_amp_2\n - delay:\n hours: 0\n minutes: 1\n seconds: 0\n milliseconds: 0\n - action: media_player.volume_set\n metadata: {}\n data:\n volume_level: 0.8\n target:\n entity_id: media_player.lounge_amp_2\n mode: single",
"config": [
{
"name": "lounge amp 2",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp_2",
"device_id": null
}
},
{
"name": "lounge amp",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp",
"device_id": null
}
}
]
},
{
"id": "'1734852244285'",
"automation": "- id: '1734852244285'\n alias: Harmony Music Assistant\n description: ''\n triggers:\n - trigger: event\n event_type: roku_command\n event_data:\n source_name: Home Assistant\n type: keypress\n key: Play\n id: Play\n alias: Roku Play\n - alias: Roku Fwd\n trigger: event\n event_type: roku_command\n event_data:\n source_name: Home Assistant\n type: keypress\n key: Fwd\n id: Fwd\n - alias: Roku Rev\n trigger: event\n event_type: roku_command\n event_data:\n source_name: Home Assistant\n type: keypress\n key: Rev\n id: Rev\n - alias: Roku Up\n trigger: event\n event_type: roku_command\n event_data:\n source_name: Home Assistant\n type: keypress\n key: Up\n id: Up\n - alias: Roku Left\n trigger: event\n event_type: roku_command\n event_data:\n source_name: Home Assistant\n type: keypress\n key: Left\n id: Left\n - alias: Roku Down\n trigger: event\n event_type: roku_command\n event_data:\n source_name: Home Assistant\n type: keypress\n key: Down\n id: Down\n - alias: Roku Right\n trigger: event\n event_type: roku_command\n event_data:\n source_name: Home Assistant\n type: keypress\n key: Right\n id: Right\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - Play\n sequence:\n - action: media_player.play_media\n metadata: {}\n data: {}\n target:\n entity_id: media_player.lounge_amp_4\n - conditions:\n - condition: trigger\n id:\n - Fwd\n sequence:\n - action: media_player.media_next_track\n metadata: {}\n data: {}\n target:\n entity_id: media_player.lounge_amp_4\n - conditions:\n - condition: trigger\n id:\n - Rev\n sequence:\n - action: media_player.media_previous_track\n metadata: {}\n data: {}\n target:\n entity_id: media_player.lounge_amp_4\n - conditions:\n - condition: trigger\n id:\n - Up\n sequence:\n - action: script.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: script.80s\n - conditions:\n - condition: trigger\n id:\n - Left\n sequence:\n - action: script.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: script.jjj\n - conditions:\n - condition: trigger\n id:\n - Down\n sequence:\n - action: script.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: script.gym_beats\n - conditions:\n - condition: trigger\n id:\n - Right\n sequence:\n - action: script.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: script.puppy\n mode: single",
"config": [
{
"name": "lounge amp",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp",
"device_id": null
}
},
{
"name": "lounge amp 4",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_amp_4",
"device_id": null
}
},
{
"name": "80s script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.80s",
"device_id": null
}
},
{
"name": "jjj script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.jjj",
"device_id": null
}
},
{
"name": "gym beats script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.gym_beats",
"device_id": null
}
},
{
"name": "puppy script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.puppy",
"device_id": null
}
},
{
"name": "Turn On Script",
"room": null,
"type": "script",
"id": {
"entity_id": "script.turn_on",
"device_id": null
}
}
]
},
{
"id": "'1737440023483'",
"automation": "- id: '1737440023483'\n alias: Party Gate\n description: Just open gate when button pressed and party mode\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.g4_doorbell_pro_doorbell\n to: 'on'\n conditions:\n - condition: state\n entity_id: input_boolean.party_mode\n state: 'on'\n actions:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.vehicle_button\n mode: single",
"config": [
{
"name": "party mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.party_mode",
"device_id": null
}
},
{
"name": "g4 doorbell pro doorbell",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.g4_doorbell_pro_doorbell",
"device_id": null
}
},
{
"name": "vehicle button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.vehicle_button",
"device_id": null
}
}
]
},
{
"id": "'1738145200805'",
"automation": "- id: '1738145200805'\n alias: Tesla Tag\n description: ''\n triggers:\n - trigger: tag\n tag_id: 6b475623-7151-477b-a820-9b192ed0e483\n - trigger: event\n event_type: ios_tag_event\n conditions:\n - condition: state\n entity_id: input_boolean.holiday_mode\n state: 'off'\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: cover.gate\n state: closed\n sequence:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.vehicle_button\n - delay:\n hours: 0\n minutes: 0\n seconds: 5\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.welding_mode\n state: 'off'\n sequence:\n - action: cover.open_cover\n metadata: {}\n data: {}\n target:\n entity_id: cover.garage_door\n - action: notify.mobile_app_pixel\n metadata: {}\n data:\n message: Gate Tag Used\n mode: single\n max_exceeded: silent",
"config": [
{
"name": "holiday mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.holiday_mode",
"device_id": null
}
},
{
"name": "mobile app pixel",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_pixel",
"device_id": null
}
},
{
"name": "vehicle button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.vehicle_button",
"device_id": null
}
},
{
"name": "gate cover",
"room": null,
"type": "cover",
"id": {
"entity_id": "cover.gate",
"device_id": null
}
},
{
"name": "garage door",
"room": "garage",
"type": "cover",
"id": {
"entity_id": "cover.garage_door",
"device_id": null
}
},
{
"name": "welding mode",
"room": null,
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.welding_mode",
"device_id": null
}
}
]
},
{
"id": "'1740102991624'",
"automation": "- id: '1740102991624'\n alias: Tesla Force Update\n description: ''\n triggers:\n - trigger: time\n at: 08:55:00\n conditions: []\n actions:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.lucy_force_data_update\n mode: single",
"config": [
{
"name": "lucy force data update button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.lucy_force_data_update",
"device_id": null
}
}
]
},
{
"id": "'1742620555857'",
"automation": "- id: '1742620555857'\n alias: Tesla Solar Fast Charging Update\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.tesla_wall_connector_contactor_closed\n to: 'on'\n from: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: numeric_state\n entity_id: sensor.lucy_battery\n below: 50\n actions:\n - repeat:\n sequence:\n - action: button.press\n metadata: {}\n data: {}\n target:\n entity_id: button.lucy_force_data_update\n - delay:\n hours: 0\n minutes: 5\n seconds: 0\n milliseconds: 0\n until:\n - condition: numeric_state\n entity_id: sensor.lucy_battery\n above: 49\n mode: single",
"config": [
{
"name": "tesla wall connector contactor closed",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.tesla_wall_connector_contactor_closed",
"device_id": null
}
},
{
"name": "lucy battery sensor",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.lucy_battery",
"device_id": null
}
},
{
"name": "lucy force data update button",
"room": null,
"type": "button",
"id": {
"entity_id": "button.lucy_force_data_update",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
},
{
"id": "'1742821742844'",
"automation": "- id: '1742821742844'\n alias: HA Update Skip first of the month\n description: Automatically skip first Core update of the month\n triggers:\n - entity_id:\n - update.home_assistant_core_update\n to: 'on'\n trigger: state\n conditions:\n - condition: template\n value_template: '{{ state_attr(''update.home_assistant_core_update'',''latest_version'').split(\".\")\n | last == \"0\" }}'\n alias: Check if update version number ends with \".0\"\n actions:\n - metadata: {}\n data: {}\n target:\n entity_id: update.home_assistant_core_update\n action: update.skip\n mode: single",
"config": [
{
"name": "home assistant core update",
"room": null,
"type": "update",
"id": {
"entity_id": "update.home_assistant_core_update",
"device_id": null
}
},
{
"name": "All Lights",
"room": null,
"type": "light",
"id": {
"entity_id": "all",
"device_id": null
}
}
]
}
]