AutomationDataset/galactica-mikesoh-com/description-ready.json

489 lines
24 KiB
JSON

[
{
"id": "81244453f4c744efb2d22f5fefbf932c",
"automation": "- id: 81244453f4c744efb2d22f5fefbf932c\n alias: Notify Mike Webhook\n description: ''\n triggers:\n - trigger: webhook\n allowed_methods:\n - POST\n - PUT\n local_only: false\n webhook_id: secret 81244453f4c744efb2d22f5fefbf932c_webhook\n conditions: []\n actions:\n - action: notify.notify_mike\n data:\n message: '{{ trigger.data.message }}\n\n '\n title: '{{ trigger.data.title }}\n\n '\n mode: single",
"config": []
},
{
"id": "64f377e6-d7c1-4929-b05c-c767cee716c4",
"automation": "- id: 64f377e6-d7c1-4929-b05c-c767cee716c4\n alias: Toggle Back Porch Lights\n description: ''\n mode: single\n triggers:\n - device_id: 40dd5dc4e4440fc1ab3fa7ff4f3dabce\n domain: zha\n trigger: device\n type: remote_button_short_press\n subtype: remote_button_short_press\n condition: []\n actions:\n - action: light.toggle\n data: {}\n target:\n entity_id: light.back_porch_switch_light",
"config": [
{
"name": "back porch light",
"room": "back porch",
"type": "light",
"id": {
"entity_id": "light.back_porch_switch_light",
"device_id": null
}
},
{
"name": "back porch remote",
"room": "back porch",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "40dd5dc4e4440fc1ab3fa7ff4f3dabce"
}
}
]
},
{
"id": "8f6b6ef3-2e01-482c-9478-d183f7cb4a8c",
"automation": "- id: 8f6b6ef3-2e01-482c-9478-d183f7cb4a8c\n alias: Crawlspace Freeze Warning\n description: Sends a notification when the crawlspace temperature is below 40° F\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.lumi_lumi_weather_temperature\n below: 40.1\n for:\n hours: 1\n minutes: 0\n seconds: 0\n condition: []\n actions:\n - action: notify.notify\n data:\n title: Crawlspace is at risk of freezing\n message: The crawlspace has been below 40° F for at least one hour. Consider\n turning on the heat.\n mode: single",
"config": [
{
"name": "crawlspace temperature sensor",
"room": "crawlspace",
"type": "sensor",
"id": {
"entity_id": "sensor.lumi_lumi_weather_temperature",
"device_id": null
}
}
]
},
{
"id": "b2db29d0-214e-4617-9134-380f43466095",
"automation": "- id: b2db29d0-214e-4617-9134-380f43466095\n alias: Hourly Weather Forecast\n description: ''\n mode: single\n triggers:\n - trigger: time_pattern\n hours: /1\n conditions: []\n actions:\n - action: weather.get_forecasts\n metadata: {}\n data:\n type: hourly\n response_variable: hourly_weather_forecast",
"config": []
},
{
"id": "d31d862238554c9e8d1e753344b90d20",
"automation": "- id: d31d862238554c9e8d1e753344b90d20\n alias: Start Drip Irrigation Timer\n description: ''\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - switch.drip_faucet_valve\n to: 'on'\n from: 'off'\n conditions: []\n actions:\n - action: timer.start\n metadata: {}\n data: {}\n target:\n entity_id: timer.drip_water_on_duration",
"config": [
{
"name": "drip faucet valve",
"room": "irrigation",
"type": "switch",
"id": {
"entity_id": "switch.drip_faucet_valve",
"device_id": null
}
},
{
"name": "drip water on duration timer",
"room": "irrigation",
"type": "timer",
"id": {
"entity_id": "timer.drip_water_on_duration",
"device_id": null
}
}
]
},
{
"id": "06cffbf6-9992-448a-9b71-4438bc9debcf",
"automation": "- id: 06cffbf6-9992-448a-9b71-4438bc9debcf\n alias: Pause Drip Irrigation Timer\n description: ''\n mode: single\n triggers:\n - trigger: state\n entity_id:\n - switch.drip_faucet_valve\n to: 'off'\n from: 'on'\n conditions: []\n actions:\n - action: timer.pause\n metadata: {}\n data: {}\n target:\n entity_id: timer.drip_water_on_duration",
"config": [
{
"name": "drip faucet valve",
"room": "irrigation",
"type": "switch",
"id": {
"entity_id": "switch.drip_faucet_valve",
"device_id": null
}
},
{
"name": "drip water on duration timer",
"room": "irrigation",
"type": "timer",
"id": {
"entity_id": "timer.drip_water_on_duration",
"device_id": null
}
}
]
},
{
"id": "b94763b0-bfdc-4ca0-95a1-baf6090ba148",
"automation": "- id: b94763b0-bfdc-4ca0-95a1-baf6090ba148\n alias: Turn Off Drip Irrigation after timer or when raining\n description: ''\n mode: single\n triggers:\n - trigger: event\n event_type: timer.finished\n event_data:\n entity_id: timer.drip_water_on_duration\n - trigger: numeric_state\n entity_id:\n - sensor.forecast_home_next_hour\n attribute: forecast.precipitation\n above: 1\n conditions: []\n actions:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.drip_faucet_valve",
"config": [
{
"name": "drip faucet valve",
"room": "irrigation",
"type": "switch",
"id": {
"entity_id": "switch.drip_faucet_valve",
"device_id": null
}
},
{
"name": "drip water on duration timer",
"room": "irrigation",
"type": "timer",
"id": {
"entity_id": "timer.drip_water_on_duration",
"device_id": null
}
},
{
"name": "forecast home next hour",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.forecast_home_next_hour",
"device_id": null
}
}
]
},
{
"id": "a2cf06e7-3e75-4144-92d1-e1e5483045d7",
"automation": "- id: a2cf06e7-3e75-4144-92d1-e1e5483045d7\n alias: Find Tania's Phone\n description: ''\n mode: single\n triggers:\n - device_id: ad652b6bc2b9ae70e151c39822fb53c7\n domain: zha\n trigger: device\n type: remote_button_short_press\n subtype: remote_button_short_press\n condition: []\n actions:\n - action: notify.notify_tania\n data:\n message: command_ringer_mode\n data:\n command: normal\n - action: notify.notify_tania\n data:\n message: command_volume_level\n data:\n media_stream: alarm_stream\n command: 100\n - action: notify.notify_tania\n data:\n message: Home Assistant is finding your phone\n data:\n ttl: 0\n priority: high\n channel: alarm_stream",
"config": [
{
"name": "phone finder remote",
"room": "home",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "ad652b6bc2b9ae70e151c39822fb53c7"
}
}
]
},
{
"id": "f1127b36-af59-42d2-8296-b7be3d8eeb11",
"automation": "- id: f1127b36-af59-42d2-8296-b7be3d8eeb11\n alias: Find Mike's Phone\n description: ''\n mode: single\n triggers:\n - device_id: ad652b6bc2b9ae70e151c39822fb53c7\n domain: zha\n trigger: device\n type: remote_button_double_press\n subtype: remote_button_double_press\n condition: []\n actions:\n - action: notify.notify_mike\n data:\n message: command_ringer_mode\n data:\n command: normal\n - action: notify.notify_mike\n data:\n message: command_volume_level\n data:\n media_stream: alarm_stream\n command: 100\n - action: notify.notify_mike\n data:\n message: Home Assistant is finding your phone\n data:\n ttl: 0\n priority: high\n channel: alarm_stream",
"config": [
{
"name": "phone finder remote",
"room": "home",
"type": "remote",
"id": {
"entity_id": null,
"device_id": "ad652b6bc2b9ae70e151c39822fb53c7"
}
}
]
},
{
"id": "6638d5e86ed5407aa50121a623b2f588",
"automation": "- id: 6638d5e86ed5407aa50121a623b2f588\n alias: Renew Let's Encrypt Certificate\n description: Renews the SSL certificate when the cert validity reaches 30 days\n mode: single\n triggers:\n - trigger: numeric_state\n entity_id:\n - sensor.home_assistant_certificate_validity_in_days\n below: 30\n conditions: []\n actions:\n - action: hassio.addon_start\n metadata: {}\n data:\n addon: core_letsencrypt\n - wait_template: '{{ int(states(''sensor.home_assistant_certificate_validity_in_days''))\n > 30 }}'\n continue_on_timeout: false\n timeout: '60'\n - action: notify.notify_mike\n data:\n message: Home Assistant SSL Certificate has Renewed. Restarting...\n data:\n ttl: 0\n priority: high\n channel: alarm_stream\n - delay:\n seconds: 30\n - action: homeassistant.restart\n metadata: {}\n data: {}",
"config": [
{
"name": "certificate validity sensor",
"room": "system",
"type": "sensor",
"id": {
"entity_id": "sensor.home_assistant_certificate_validity_in_days",
"device_id": null
}
}
]
},
{
"id": "0f2bd0b2890c4ecd9596283db331e2e1",
"automation": "- id: 0f2bd0b2890c4ecd9596283db331e2e1\n alias: HVAC Filter Replacement Tag\n description: Sets the date for HVAC Filter\n triggers:\n - trigger: tag\n tag_id: 0f2bd0b2-890c-4ecd-9596-283db331e2e1\n condition: []\n actions:\n - action: input_datetime.set_datetime\n target:\n entity_id: input_datetime.hvac_air_filter\n data:\n date: '{{ now().strftime(''%Y-%m-%d'') }}'\n mode: single",
"config": [
{
"name": "hvac air filter input",
"room": "hvac",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.hvac_air_filter",
"device_id": null
}
}
]
},
{
"id": "984ada78ac4c4c728b560516e3e534ec",
"automation": "- id: 984ada78ac4c4c728b560516e3e534ec\n alias: Refrigerator Water Filter Replacement Tag\n description: Sets the date for Refrigerator Water Filter\n triggers:\n - trigger: tag\n tag_id: 984ada78-ac4c-4c72-8b56-0516e3e534ec\n condition: []\n actions:\n - action: input_datetime.set_datetime\n target:\n entity_id: input_datetime.refrigerator_water_filter\n data:\n date: '{{ now().strftime(''%Y-%m-%d'') }}'\n mode: single",
"config": [
{
"name": "refrigerator water filter input",
"room": "kitchen",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.refrigerator_water_filter",
"device_id": null
}
}
]
},
{
"id": "04fde7e3a8964411b488e56118254222",
"automation": "- id: 04fde7e3a8964411b488e56118254222\n alias: Main Bathroom Shower Filter Replacement Tag\n description: Sets the date for Main Bathroom Shower Filter\n triggers:\n - trigger: tag\n tag_id: 04fde7e3-a896-4411-b488-e56118254222\n condition: []\n actions:\n - action: input_datetime.set_datetime\n target:\n entity_id: input_datetime.main_bathroom_shower_filter\n data:\n date: '{{ now().strftime(''%Y-%m-%d'') }}'\n mode: single",
"config": [
{
"name": "main bathroom shower filter input",
"room": "bathroom",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.main_bathroom_shower_filter",
"device_id": null
}
}
]
},
{
"id": "'1671740402182'",
"automation": "- id: '1671740402182'\n alias: Tag Recycling Can \"Churro\" is scanned\n description: Sets boolean to True\n triggers:\n - trigger: tag\n tag_id: fdd4274c-e8f5-46eb-9f37-c8a967f68ba5\n condition: []\n actions:\n - action: input_boolean.turn_on\n data: {}\n target:\n entity_id: input_boolean.recycling_can_churro\n mode: single",
"config": [
{
"name": "recycling can churro input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.recycling_can_churro",
"device_id": null
}
}
]
},
{
"id": "99961b2c-9545-43f3-ae29-7dc30b23cddf",
"automation": "- id: 99961b2c-9545-43f3-ae29-7dc30b23cddf\n alias: Tag Recycling Can \"Brownie\" is scanned\n description: Sets boolean to True\n triggers:\n - trigger: tag\n tag_id: 90726f9d-3eaf-4b61-978f-0f03210999c3\n condition: []\n actions:\n - action: input_boolean.turn_on\n data: {}\n target:\n entity_id: input_boolean.recycling_can_brownie\n mode: single",
"config": [
{
"name": "recycling can brownie input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.recycling_can_brownie",
"device_id": null
}
}
]
},
{
"id": "'1671741672000'",
"automation": "- id: '1671741672000'\n alias: Tag Trash Can is scanned\n description: Sets boolean to True\n triggers:\n - trigger: tag\n tag_id: ef571650-a610-4931-8dbb-95b3b21da1c5\n condition: []\n actions:\n - action: input_boolean.turn_on\n data: {}\n target:\n entity_id: input_boolean.trash_can\n mode: single",
"config": [
{
"name": "trash can input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_can",
"device_id": null
}
}
]
},
{
"id": "'1671741335261'",
"automation": "- id: '1671741335261'\n alias: Return Trash and Recycling to Off\n description: ''\n triggers:\n - trigger: time\n at: '20:00:00'\n condition:\n - condition: time\n after: 00:00\n before: '23:00'\n weekday:\n - fri\n actions:\n - action: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.recycling_can_churro\n - action: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.trash_can\n mode: single",
"config": [
{
"name": "recycling can churro input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.recycling_can_churro",
"device_id": null
}
},
{
"name": "trash can input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_can",
"device_id": null
}
}
]
},
{
"id": "'1671749036516'",
"automation": "- id: '1671749036516'\n alias: Trash notification\n description: ''\n trigger:\n - trigger: time_pattern\n hours: '*'\n condition:\n - condition: and\n conditions:\n - condition: or\n conditions:\n - condition: time\n after: '18:00'\n before: '21:00'\n weekday:\n - thu\n - condition: time\n after: 06:00\n before: '10:00'\n weekday:\n - fri\n - condition: or\n conditions:\n - condition: and\n conditions:\n - condition: numeric_state\n entity_id: sensor.garbage_refuse_collection\n attribute: days\n below: 1.1\n - condition: state\n entity_id: input_boolean.trash_can\n state: 'off'\n - condition: and\n conditions:\n - condition: numeric_state\n entity_id: sensor.recycling_collection\n attribute: days\n below: 1.1\n - condition: state\n entity_id: input_boolean.recycling_can_brownie\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: person.mike\n state: home\n - condition: state\n entity_id: person.tania\n state: home\n actions:\n - action: notify.notify\n data:\n message: Trash needs to go out.\n title: Trash\n - condition: numeric_state\n entity_id: sensor.recycling_collection\n attribute: days\n below: 1.1\n - action: notify.notify\n data:\n message: Recycling need to go out\n title: Recycling\n mode: single",
"config": [
{
"name": "recycling can brownie input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.recycling_can_brownie",
"device_id": null
}
},
{
"name": "trash can input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.trash_can",
"device_id": null
}
},
{
"name": "garbage refuse collection sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.garbage_refuse_collection",
"device_id": null
}
},
{
"name": "recycling collection sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.recycling_collection",
"device_id": null
}
},
{
"name": "mike person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.mike",
"device_id": null
}
},
{
"name": "tania person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.tania",
"device_id": null
}
}
]
},
{
"id": "de3c52cccd8d4e8d8798f438a1d71ad1",
"automation": "- id: de3c52cccd8d4e8d8798f438a1d71ad1\n alias: Vacuum filter tag is scanned\n description: Sets boolean to True\n triggers:\n - trigger: tag\n tag_id: 4a64b579-1205-4533-a439-e1a5403f2931\n condition: []\n actions:\n - action: input_datetime.set_datetime\n target:\n entity_id: input_datetime.vacuum_filter\n data:\n date: '{{ now().strftime(''%Y-%m-%d'') }}'\n mode: single",
"config": [
{
"name": "vacuum filter input",
"room": "home",
"type": "input_datetime",
"id": {
"entity_id": "input_datetime.vacuum_filter",
"device_id": null
}
}
]
},
{
"id": "'1688935879376'",
"automation": "- id: '1688935879376'\n alias: Arrival\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - person.tania\n to: home\n condition:\n - condition: state\n entity_id: person.mike\n state: home\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - condition: state\n entity_id: input_boolean.alert_mike\n state: 'on'\n actions:\n - action: notify.notify_mike\n data:\n message: command_ringer_mode\n data:\n command: normal\n - action: notify.notify_mike\n data:\n message: command_volume_level\n data:\n media_stream: notification_stream\n command: 100\n - action: notify.notify_mike\n data:\n message: Tania is home. Turning alerts off.\n data:\n ttl: 0\n priority: high\n channel: notification_stream\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.alert_mike\n mode: single",
"config": [
{
"name": "mike person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.mike",
"device_id": null
}
},
{
"name": "tania person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.tania",
"device_id": null
}
},
{
"name": "alert mike input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.alert_mike",
"device_id": null
}
}
]
},
{
"id": "c4b0b435-1f14-41ac-9e42-c5744802041f",
"automation": "- id: c4b0b435-1f14-41ac-9e42-c5744802041f\n alias: Five-Minutes Out\n description: Tania is 5 minutes away\n triggers:\n - trigger: state\n entity_id:\n - person.tania\n from: not_home\n to: Five Minute Radius\n condition:\n - condition: state\n entity_id: person.mike\n state: home\n for:\n hours: 0\n minutes: 30\n seconds: 0\n - condition: state\n entity_id: input_boolean.alert_mike\n state: 'on'\n actions:\n - action: notify.notify_mike\n data:\n message: Tania is 5 Minutes Out.\n data:\n ttl: 0\n priority: normal\n channel: notification_stream\n mode: single",
"config": [
{
"name": "mike person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.mike",
"device_id": null
}
},
{
"name": "tania person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.tania",
"device_id": null
}
},
{
"name": "alert mike input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.alert_mike",
"device_id": null
}
}
]
},
{
"id": "86517352-b628-4223-87b4-6a8e53e75ce9",
"automation": "- id: 86517352-b628-4223-87b4-6a8e53e75ce9\n alias: Tania is AWAY\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - person.tania\n to: away\n condition:\n - condition: state\n entity_id: person.mike\n state: home\n for:\n hours: 0\n minutes: 30\n seconds: 0\n actions:\n - action: input_boolean.turn_on\n target:\n entity_id: input_boolean.alert_mike\n - action: notify.notify_mike\n data:\n message: Tania is now away. Alerts turned on.\n mode: single",
"config": [
{
"name": "mike person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.mike",
"device_id": null
}
},
{
"name": "tania person",
"room": "home",
"type": "person",
"id": {
"entity_id": "person.tania",
"device_id": null
}
},
{
"name": "alert mike input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.alert_mike",
"device_id": null
}
}
]
},
{
"id": "da3ea5ad1be7408e987c1b7a2ecbdd14",
"automation": "- id: da3ea5ad1be7408e987c1b7a2ecbdd14\n alias: Tania is Near\n description: ''\n triggers:\n trigger: numeric_state\n entity_id:\n - sensor.distance_between_mike_and_tania_in_feet\n for:\n hours: 0\n minutes: 1\n seconds: 0\n below: 500\n condition:\n - condition: state\n entity_id: input_boolean.alert_mike\n state: 'on'\n actions:\n - action: notify.notify_mike\n data:\n message: command_ringer_mode\n data:\n command: normal\n - action: notify.notify_mike\n data:\n message: command_volume_level\n data:\n media_stream: notification_stream\n command: 100\n - action: notify.notify_mike\n data:\n message: Tania is near.\n data:\n ttl: 0\n priority: high\n channel: notification_stream\n mode: single",
"config": [
{
"name": "alert mike input",
"room": "home",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.alert_mike",
"device_id": null
}
},
{
"name": "distance between mike and tania sensor",
"room": "home",
"type": "sensor",
"id": {
"entity_id": "sensor.distance_between_mike_and_tania_in_feet",
"device_id": null
}
}
]
}
]