AutomationDataset/PeteCooney/description-ready.json

485 lines
20 KiB
JSON

[
{
"id": "'1698309392080'",
"automation": "- id: '1698309392080'\n alias: Lock Car\n description: Check if the car doors have been left unlocked and, if so, lock them.\n trigger:\n - platform: time\n at: '22:00:00'\n condition:\n - condition: device\n device_id: fb121cea7fb34311eb0a8efb22bcf012\n domain: device_tracker\n entity_id: 69391f83a00c4d0edb7499199bd368bc\n type: is_home\n - condition: device\n device_id: fb121cea7fb34311eb0a8efb22bcf012\n domain: lock\n entity_id: e843dc9038c5b77bfd4717f5d1f52960\n type: is_unlocked\n - type: is_off\n condition: device\n device_id: fb121cea7fb34311eb0a8efb22bcf012\n entity_id: b3c196afb02b85e136bfebde3c55ea91\n domain: binary_sensor\n action:\n - service: lock.lock\n data: {}\n target:\n device_id: fb121cea7fb34311eb0a8efb22bcf012\n - service: notify.mobile_app_peters_iphone\n data:\n title: Car Doors Locked\n message: Car doors were left unlocked. They have now been locked\n mode: single",
"config": [
{
"name": "car tracker",
"room": "car",
"type": "device_tracker",
"id": {
"entity_id": "69391f83a00c4d0edb7499199bd368bc",
"device_id": "fb121cea7fb34311eb0a8efb22bcf012"
}
},
{
"name": "car lock",
"room": "car",
"type": "lock",
"id": {
"entity_id": "e843dc9038c5b77bfd4717f5d1f52960",
"device_id": "fb121cea7fb34311eb0a8efb22bcf012"
}
},
{
"name": "car binary sensor",
"room": "car",
"type": "binary_sensor",
"id": {
"entity_id": "b3c196afb02b85e136bfebde3c55ea91",
"device_id": "fb121cea7fb34311eb0a8efb22bcf012"
}
},
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1710761994420'",
"automation": "- id: '1710761994420'\n alias: Back Garden Toggle Pergola Spots\n description: ''\n triggers:\n - entity_id:\n - binary_sensor.back_garden_light_switches_2\n trigger: state\n conditions: []\n actions:\n - metadata: {}\n data: {}\n target:\n entity_id: light.back_garden_pergola_spots\n action: light.toggle\n mode: single",
"config": [
{
"name": "back garden light switch 2",
"room": "garden",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_garden_light_switches_2",
"device_id": null
}
},
{
"name": "back garden pergola spots",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.back_garden_pergola_spots",
"device_id": null
}
}
]
},
{
"id": "'1711124179398'",
"automation": "- id: '1711124179398'\n alias: Back Garden Toggle Pergola LED Strips\n description: ''\n triggers:\n - entity_id:\n - binary_sensor.back_garden_light_switches_1\n trigger: state\n conditions: []\n actions:\n - metadata: {}\n data: {}\n target:\n entity_id: light.back_garden_pergola_leds\n action: light.toggle\n mode: single",
"config": [
{
"name": "back garden light switch 1",
"room": "garden",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.back_garden_light_switches_1",
"device_id": null
}
},
{
"name": "back garden pergola leds",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.back_garden_pergola_leds",
"device_id": null
}
}
]
},
{
"id": "'1714292450273'",
"automation": "- id: '1714292450273'\n alias: 'Heating On/Off Based on Temperature '\n description: ''\n trigger:\n - platform: state\n entity_id:\n - weather.home\n attribute: temperature\n condition: []\n action:\n - if:\n - condition: numeric_state\n entity_id: weather.home\n attribute: temperature\n above: input_number.heating_threshold\n then:\n - service: climate.turn_off\n metadata: {}\n data: {}\n target:\n floor_id:\n - upstairs\n - downstairs\n else:\n - service: climate.turn_on\n metadata: {}\n data: {}\n target:\n floor_id:\n - upstairs\n - downstairs\n mode: single",
"config": [
{
"name": "weather home",
"room": null,
"type": "weather",
"id": {
"entity_id": "weather.home",
"device_id": null
}
},
{
"name": "heating threshold",
"room": null,
"type": "input_number",
"id": {
"entity_id": "input_number.heating_threshold",
"device_id": null
}
}
]
},
{
"id": "'1714569976687'",
"automation": "- id: '1714569976687'\n alias: Lounge TV Power\n description: ''\n triggers:\n - entity_id:\n - binary_sensor.lounge_tv_power\n trigger: state\n conditions: []\n actions:\n - if:\n - condition: state\n entity_id: binary_sensor.lounge_tv_power\n state: 'on'\n then:\n - metadata: {}\n data: {}\n target:\n entity_id: switch.lounge_tv_power\n action: switch.turn_on\n else:\n - metadata: {}\n data: {}\n target:\n entity_id: switch.lounge_tv_power\n action: switch.turn_off\n mode: single",
"config": [
{
"name": "lounge tv power binary sensor",
"room": "lounge",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.lounge_tv_power",
"device_id": null
}
},
{
"name": "lounge tv power switch",
"room": "lounge",
"type": "switch",
"id": {
"entity_id": "switch.lounge_tv_power",
"device_id": null
}
}
]
},
{
"id": "'1719415346866'",
"automation": "- id: '1719415346866'\n alias: Jacob TV Power\n description: ''\n triggers:\n - entity_id:\n - schedule.jacob_tv_power\n trigger: state\n conditions: []\n actions:\n - if:\n - condition: state\n entity_id: schedule.jacob_tv_power\n state: 'on'\n then:\n - metadata: {}\n data: {}\n target:\n entity_id: switch.jacob_tv_power\n action: switch.turn_on\n else:\n - metadata: {}\n data: {}\n target:\n entity_id: switch.jacob_tv_power\n action: switch.turn_off\n mode: single",
"config": [
{
"name": "jacob tv power schedule",
"room": "jacob",
"type": "schedule",
"id": {
"entity_id": "schedule.jacob_tv_power",
"device_id": null
}
},
{
"name": "jacob tv power switch",
"room": "jacob",
"type": "switch",
"id": {
"entity_id": "switch.jacob_tv_power",
"device_id": null
}
}
]
},
{
"id": "'1734035589543'",
"automation": "- id: '1734035589543'\n alias: Dishwasher Detergent Low\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - sensor.dishwasher_detergent\n to: Low\n conditions: []\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n title: Dishwasher\n message: Dishwasher detergent low\n mode: single",
"config": [
{
"name": "dishwasher detergent",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.dishwasher_detergent",
"device_id": null
}
},
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1734035665274'",
"automation": "- id: '1734035665274'\n alias: Dishwasher Salt Low\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - sensor.dishwasher_salt\n to: Low\n conditions: []\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n title: Dishwasher\n message: Dishwasher salt low\n mode: single",
"config": [
{
"name": "dishwasher salt",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.dishwasher_salt",
"device_id": null
}
},
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1734035721862'",
"automation": "- id: '1734035721862'\n alias: Dishwasher Rinseaid Low\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - sensor.dishwasher_rinseaid\n to: Low\n conditions: []\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n title: Dishwasher\n message: Dishwasher rinseaid low\n mode: single",
"config": [
{
"name": "dishwasher rinseaid",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.dishwasher_rinseaid",
"device_id": null
}
},
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1741645268451'",
"automation": "- id: '1741645268451'\n alias: Radarr New Download\n description: ''\n triggers:\n - trigger: webhook\n allowed_methods:\n - POST\n local_only: true\n webhook_id: radarr-import\n conditions: []\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n title: Radarr - Movie Downloaded\n message: 🎬{{trigger['json']['movie']['title']}}🎬\n mode: single",
"config": [
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1741645973523'",
"automation": "- id: '1741645973523'\n alias: Radarr Upgrade\n description: ''\n triggers:\n - trigger: webhook\n allowed_methods:\n - POST\n local_only: true\n webhook_id: radarr-upgrade\n conditions: []\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n title: Radarr - Movie Upgraded\n message: 🎬{{trigger['json']['movie']['title']}}🎬\n mode: single",
"config": [
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1741646218522'",
"automation": "- id: '1741646218522'\n alias: Sonarr New Download\n description: ''\n triggers:\n - trigger: webhook\n allowed_methods:\n - POST\n local_only: true\n webhook_id: sonarr-import\n conditions: []\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n title: Sonarr - Series Downloaded\n message: 📺{{trigger['json']['series']['title']}}📺\n mode: single",
"config": [
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1745664235460'",
"automation": "- id: '1745664235460'\n alias: Sonarr Upgrade\n description: ''\n triggers:\n - trigger: webhook\n allowed_methods:\n - POST\n local_only: true\n webhook_id: sonarr-upgrade\n conditions: []\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n title: Sonarr - Series Upgraded\n message: 📺{{trigger['json']['series']['title']}}📺\n mode: single",
"config": [
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1745831097069'",
"automation": "- id: '1745831097069'\n alias: TrueNAS App Update(s) Available\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.truenas_apps_updates_available\n to: 'on'\n conditions: []\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n title: App Update(s) Available\n message: App Update(s) Available\n mode: single",
"config": [
{
"name": "truenas apps updates available",
"room": null,
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.truenas_apps_updates_available",
"device_id": null
}
},
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1746094422405'",
"automation": "- id: '1746094422405'\n alias: Radarr 4k New Download\n description: ''\n triggers:\n - trigger: webhook\n allowed_methods:\n - POST\n local_only: true\n webhook_id: radarr4k-import\n conditions: []\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n title: Radarr - 4k Movie Downloaded\n message: 🎬{{trigger['json']['movie']['title']}}🎬\n mode: single",
"config": [
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1746094589584'",
"automation": "- id: '1746094589584'\n alias: Radarr 4k Upgrade\n description: ''\n triggers:\n - trigger: webhook\n allowed_methods:\n - POST\n local_only: true\n webhook_id: radarr4k-upgrade\n conditions: []\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n title: Radarr - 4k Movie Upgraded\n message: 🎬{{trigger['json']['movie']['title']}}🎬\n mode: single",
"config": [
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
},
{
"id": "'1749111163747'",
"automation": "- id: '1749111163747'\n alias: Joshua TV Power\n description: ''\n triggers:\n - entity_id:\n - schedule.joshua_tv_power\n trigger: state\n conditions: []\n actions:\n - if:\n - condition: state\n entity_id: schedule.joshua_tv_power\n state: 'on'\n then:\n - metadata: {}\n data: {}\n action: switch.turn_on\n target:\n entity_id: switch.joshua_tv_power\n else:\n - metadata: {}\n data: {}\n action: switch.turn_off\n target:\n entity_id: switch.joshua_tv_power\n mode: single",
"config": [
{
"name": "joshua tv power schedule",
"room": "joshua",
"type": "schedule",
"id": {
"entity_id": "schedule.joshua_tv_power",
"device_id": null
}
},
{
"name": "joshua tv power switch",
"room": "joshua",
"type": "switch",
"id": {
"entity_id": "switch.joshua_tv_power",
"device_id": null
}
}
]
},
{
"id": "'1749111373871'",
"automation": "- id: '1749111373871'\n alias: Lounge Sky Q Switch off Automatically\n description: ''\n triggers:\n - entity_id: media_player.lounge_tv\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n trigger: state\n conditions:\n - condition: state\n state: 'on'\n entity_id: media_player.lounge_sky_q\n actions:\n - entity_id: media_player.lounge_sky_q\n action: media_player.turn_off\n mode: single",
"config": [
{
"name": "lounge tv media player",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_tv",
"device_id": null
}
},
{
"name": "lounge sky q media player",
"room": "lounge",
"type": "media_player",
"id": {
"entity_id": "media_player.lounge_sky_q",
"device_id": null
}
}
]
},
{
"id": "'1749112014664'",
"automation": "- id: '1749112014664'\n alias: Front Garden Christmas Lights Off At 11:00pm\n description: ''\n triggers:\n - at: '23:00:00'\n trigger: time\n conditions: []\n actions:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.front_garden_christmas_lights\n mode: single",
"config": [
{
"name": "front garden christmas lights",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.front_garden_christmas_lights",
"device_id": null
}
}
]
},
{
"id": "'1749112083129'",
"automation": "- id: '1749112083129'\n alias: Front Garden Christmas Lights On At Dusk\n description: ''\n triggers:\n - event: sunset\n offset: +00:15:00\n trigger: sun\n conditions: []\n actions:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.front_garden_christmas_lights\n mode: single",
"config": [
{
"name": "front garden christmas lights",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.front_garden_christmas_lights",
"device_id": null
}
}
]
},
{
"id": "'1749113941527'",
"automation": "- id: '1749113941527'\n alias: Hall - Front Garden Light Switch Pressed\n description: ''\n triggers:\n - entity_id:\n - input_button.hall_front_garden_light_switch\n trigger: state\n conditions: []\n actions:\n - if:\n - condition: or\n conditions:\n - condition: state\n entity_id: light.front_garden_path_lights\n state: 'on'\n - condition: state\n entity_id: light.front_garden_soffit_lights\n state: 'on'\n then:\n - target:\n entity_id:\n - light.front_garden_path_lights\n - light.front_garden_soffit_lights\n action: light.turn_off\n data: {}\n else:\n - target:\n entity_id:\n - light.front_garden_path_lights\n - light.front_garden_soffit_lights\n action: light.turn_on\n data: {}\n mode: single",
"config": [
{
"name": "hall front garden light switch",
"room": "hall",
"type": "input_button",
"id": {
"entity_id": "input_button.hall_front_garden_light_switch",
"device_id": null
}
},
{
"name": "front garden path lights",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.front_garden_path_lights",
"device_id": null
}
},
{
"name": "front garden soffit lights",
"room": "garden",
"type": "light",
"id": {
"entity_id": "light.front_garden_soffit_lights",
"device_id": null
}
}
]
},
{
"id": "'1749216727855'",
"automation": "- id: '1749216727855'\n alias: Cat Flap Batteries Low\n description: ''\n triggers:\n - entity_id:\n - sensor.cat_flap_battery_level_adjusted\n below: 25\n attribute: value\n trigger: numeric_state\n actions:\n - action: notify.mobile_app_peters_iphone\n metadata: {}\n data:\n message: Batteries Low\n title: Cat Flap\n mode: single",
"config": [
{
"name": "cat flap battery level adjusted",
"room": null,
"type": "sensor",
"id": {
"entity_id": "sensor.cat_flap_battery_level_adjusted",
"device_id": null
}
},
{
"name": "mobile app peters iphone",
"room": null,
"type": "notify",
"id": {
"entity_id": "notify.mobile_app_peters_iphone",
"device_id": null
}
}
]
}
]