[ { "id": "'1611982176739'", "automation": "- id: '1611982176739'\n alias: 'System: SSL Certificate Renewal'\n description: renew ssl certificate from letsencrypt.\n trigger:\n - at: 00:02\n platform: time\n condition: []\n action:\n - data:\n addon: core_letsencrypt\n action: hassio.addon_restart\n mode: single", "config": [] }, { "id": "'1612291452533'", "automation": "- id: '1612291452533'\n alias: 'Shed: Plant Light Controls'\n description: used when Rosemary plant is brought indoors during the winter.\n trigger:\n - platform: sun\n event: sunrise\n id: shed_plant_light_on\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.shed_indoor_plant_light_on\n id: shed_plant_light_off\n condition:\n - condition: state\n entity_id: input_boolean.shed_indoor_plant_light\n state: 'on'\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - shed_plant_light_on\n sequence:\n - action: timer.start\n data: {}\n target:\n entity_id: timer.shed_indoor_plant_light_on\n - action: switch.turn_on\n target:\n entity_id: switch.plg_shed_utility\n data: {}\n - conditions:\n - condition: trigger\n id:\n - shed_plant_light_off\n sequence:\n - action: switch.turn_off\n target:\n entity_id: switch.plg_shed_utility\n data: {}\n mode: single", "config": [ { "name": "shed indoor plant light timer", "room": "shed", "type": "timer", "id": { "entity_id": "timer.shed_indoor_plant_light_on", "device_id": null } }, { "name": "shed plant light switch", "room": "shed", "type": "switch", "id": { "entity_id": "switch.plg_shed_utility", "device_id": null } }, { "name": "Shed Indoor Plant Light", "room": "Shed", "type": "input_boolean", "id": { "entity_id": "input_boolean.shed_indoor_plant_light", "device_id": null } } ] }, { "id": "'1612292614712'", "automation": "- id: '1612292614712'\n alias: 'Kitchen Speakers: ON when music starts playing'\n description: ''\n trigger:\n - platform: state\n entity_id: media_player.kitchen_speaker\n to: playing\n for: 00:00:01\n condition:\n - condition: state\n state: 'off'\n entity_id: switch.plg_kitchen_speaker\n action:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.plg_kitchen_speaker\n mode: single", "config": [ { "name": "kitchen speaker", "room": "kitchen", "type": "media_player", "id": { "entity_id": "media_player.kitchen_speaker", "device_id": null } }, { "name": "kitchen speaker plug", "room": "kitchen", "type": "switch", "id": { "entity_id": "switch.plg_kitchen_speaker", "device_id": null } } ] }, { "id": "'1612292752882'", "automation": "- id: '1612292752882'\n alias: 'Kitchen Speakers: Off when music no longer playing'\n description: ''\n trigger:\n - platform: state\n entity_id: media_player.kitchen_speaker\n from: playing\n to: idle\n for: 00:00:30\n - platform: state\n entity_id: media_player.kitchen_speaker\n to: 'off'\n condition:\n - condition: state\n state: 'on'\n entity_id: switch.plg_kitchen_speaker\n action:\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.plg_kitchen_speaker\n mode: single", "config": [ { "name": "kitchen speaker", "room": "kitchen", "type": "media_player", "id": { "entity_id": "media_player.kitchen_speaker", "device_id": null } }, { "name": "kitchen speaker plug", "room": "kitchen", "type": "switch", "id": { "entity_id": "switch.plg_kitchen_speaker", "device_id": null } } ] }, { "id": "'1612292819059'", "automation": "- id: '1612292819059'\n alias: 'House: Indoor Lights on at sunset'\n description: ''\n triggers:\n - event: sunset\n trigger: sun\n conditions: []\n actions:\n - action: light.turn_on\n target:\n entity_id:\n - light.blb_kidsbedroom_lamp\n - light.blb_main_bedroom_floor_lamp\n data:\n transition: 6\n brightness_pct: 50\n rgb_color:\n - 129\n - 173\n - 255\n - action: switch.turn_on\n data: {}\n target:\n entity_id:\n - switch.fan_family_room_airpurifier_night_mode\n - switch.fan_main_bedroom_airpurifier_night_mode\n - switch.plg_familyroom_cabinetlight\n - switch.sw_kitchen_sinklight\n - switch.family_room_garland_light\n - if:\n - condition: state\n entity_id: input_boolean.christmas_lights_indoors\n state: 'on'\n then:\n - action: switch.turn_on\n data: {}\n target:\n entity_id:\n - switch.sw_familyroom_christmastree\n - switch.sw_familyroom_cornerlight\n mode: single", "config": [ { "name": "kids bedroom lamp", "room": "kids_bedroom", "type": "light", "id": { "entity_id": "light.blb_kidsbedroom_lamp", "device_id": null } }, { "name": "main bedroom floor lamp", "room": "main_bedroom", "type": "light", "id": { "entity_id": "light.blb_main_bedroom_floor_lamp", "device_id": null } }, { "name": "family room air purifier night mode", "room": "family_room", "type": "switch", "id": { "entity_id": "switch.fan_family_room_airpurifier_night_mode", "device_id": null } }, { "name": "main bedroom air purifier night mode", "room": "main_bedroom", "type": "switch", "id": { "entity_id": "switch.fan_main_bedroom_airpurifier_night_mode", "device_id": null } }, { "name": "family room cabinet light", "room": "family_room", "type": "switch", "id": { "entity_id": "switch.plg_familyroom_cabinetlight", "device_id": null } }, { "name": "kitchen sink light", "room": "kitchen", "type": "switch", "id": { "entity_id": "switch.sw_kitchen_sinklight", "device_id": null } }, { "name": "family room garland light", "room": "family_room", "type": "switch", "id": { "entity_id": "switch.family_room_garland_light", "device_id": null } }, { "name": "family room christmas tree", "room": "family_room", "type": "switch", "id": { "entity_id": "switch.sw_familyroom_christmastree", "device_id": null } }, { "name": "family room corner light", "room": "family_room", "type": "switch", "id": { "entity_id": "switch.sw_familyroom_cornerlight", "device_id": null } }, { "name": "Christmas Lights Indoors", "room": "House", "type": "input_boolean", "id": { "entity_id": "input_boolean.christmas_lights_indoors", "device_id": null } } ] }, { "id": "'1612292887886'", "automation": "- id: '1612292887886'\n alias: 'House: Indoor Devices off for the night check'\n description: turn off any devices that might have been left on over night.\n triggers:\n - at: 01:01:00\n trigger: time\n conditions: []\n actions:\n - action: switch.turn_off\n data: {}\n target:\n entity_id:\n - switch.plg_familyroom_cabinetlight\n - switch.sw_kitchen_sinklight\n - switch.family_room_garland_light\n - action: switch.turn_on\n data: {}\n target:\n entity_id:\n - switch.garage_house_door_lock\n - switch.house_front_door_lock\n mode: single", "config": [ { "name": "family room cabinet light", "room": "family_room", "type": "switch", "id": { "entity_id": "switch.plg_familyroom_cabinetlight", "device_id": null } }, { "name": "kitchen sink light", "room": "kitchen", "type": "switch", "id": { "entity_id": "switch.sw_kitchen_sinklight", "device_id": null } }, { "name": "family room garland light", "room": "family_room", "type": "switch", "id": { "entity_id": "switch.family_room_garland_light", "device_id": null } }, { "name": "garage house door lock", "room": "garage", "type": "switch", "id": { "entity_id": "switch.garage_house_door_lock", "device_id": null } }, { "name": "house front door lock", "room": "house", "type": "switch", "id": { "entity_id": "switch.house_front_door_lock", "device_id": null } } ] }, { "id": "'1612295061627'", "automation": "- id: '1612295061627'\n alias: 'Outside: Lights Off at sunrise'\n description: turn off outdoor lights shortly before sunrise.\n trigger:\n - platform: sun\n event: sunrise\n offset: -00:15:00\n condition: []\n action:\n - action: light.turn_off\n target:\n entity_id: light.group_driveway_lights\n data:\n transition: 2\n - action: light.turn_off\n data: {}\n target:\n entity_id: light.front_door_ring_light\n mode: single", "config": [ { "name": "driveway lights", "room": "outside", "type": "light", "id": { "entity_id": "light.group_driveway_lights", "device_id": null } }, { "name": "front door ring light", "room": "outside", "type": "light", "id": { "entity_id": "light.front_door_ring_light", "device_id": null } } ] }, { "id": "'1612298561421'", "automation": "- id: '1612298561421'\n alias: 'Main Bedroom: Climate controls'\n description: ''\n trigger:\n - platform: time_pattern\n minutes: /10\n condition:\n - condition: state\n entity_id: input_boolean.main_bedroom_heater\n state: 'on'\n action:\n - choose:\n - conditions:\n - condition: and\n conditions:\n - condition: numeric_state\n below: '21.1'\n entity_id: sensor.main_bedroom_mean_temperature_calculation\n - condition: state\n entity_id: binary_sensor.main_bedroom_presence_sensor_timeout\n state: 'on'\n - condition: time\n after: '22:00:00'\n before: 05:29:00\n - condition: state\n entity_id: switch.sw_main_bedroom_heater\n state: 'off'\n sequence:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.sw_main_bedroom_heater\n - conditions:\n - condition: and\n conditions:\n - condition: time\n after: 05:30:00\n before: '21:59:00'\n - condition: state\n entity_id: switch.sw_main_bedroom_heater\n state: 'on'\n sequence:\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.sw_main_bedroom_heater\n default: []\n mode: single", "config": [ { "name": "main bedroom mean temperature", "room": "main_bedroom", "type": "sensor", "id": { "entity_id": "sensor.main_bedroom_mean_temperature_calculation", "device_id": null } }, { "name": "main bedroom presence sensor timeout", "room": "main_bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.main_bedroom_presence_sensor_timeout", "device_id": null } }, { "name": "main bedroom heater", "room": "main_bedroom", "type": "switch", "id": { "entity_id": "switch.sw_main_bedroom_heater", "device_id": null } }, { "name": "Main Bedroom Heater", "room": "Main Bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.main_bedroom_heater", "device_id": null } } ] }, { "id": "'1612306243899'", "automation": "- id: '1612306243899'\n alias: 'Garage Inside: Lights on when person doors opened'\n description: turn on garage lights when house or side door is opened after sunset.\n trigger:\n - platform: state\n to: 'on'\n entity_id: binary_sensor.snr_garage_housedoorcontact_contact\n - platform: state\n entity_id: binary_sensor.snr_garage_sidedoorcontact_contact\n from: 'off'\n to: 'on'\n condition:\n - condition: and\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: switch.sw_garage_ceilingmainlights\n state: 'off'\n for: 00:00:10\n action:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.sw_garage_ceilingmainlights\n mode: single", "config": [ { "name": "garage house door contact", "room": "garage", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_garage_housedoorcontact_contact", "device_id": null } }, { "name": "garage side door contact", "room": "garage", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_garage_sidedoorcontact_contact", "device_id": null } }, { "name": "garage ceiling main lights", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_ceilingmainlights", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "'1612309818757'", "automation": "- id: '1612309818757'\n alias: 'Garage Outside: Side light On at night with motion'\n description: turn light at garage side door on when motion is detected at side of\n house.\n trigger:\n - platform: state\n entity_id: binary_sensor.snr_outside_garagesidemotion_occupancy\n from: 'off'\n to: 'on'\n id: outside_garage_motion_on\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.outside_garage_side_door_light_on\n id: outside_garage_motion_off\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - outside_garage_motion_on\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n sequence:\n - action: timer.start\n target:\n entity_id: timer.outside_garage_side_door_light_on\n data: {}\n - action: switch.turn_on\n target:\n entity_id: switch.sw_outside_garagesidedoorlight\n data: {}\n - conditions:\n - condition: trigger\n id:\n - outside_garage_motion_off\n sequence:\n - action: switch.turn_off\n target:\n entity_id: switch.sw_outside_garagesidedoorlight\n data: {}\n mode: restart", "config": [ { "name": "outside garage side motion occupancy", "room": "outside", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_outside_garagesidemotion_occupancy", "device_id": null } }, { "name": "outside garage side door light timer", "room": "outside", "type": "timer", "id": { "entity_id": "timer.outside_garage_side_door_light_on", "device_id": null } }, { "name": "outside garage side door light", "room": "outside", "type": "switch", "id": { "entity_id": "switch.sw_outside_garagesidedoorlight", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "'1612462343806'", "automation": "- id: '1612462343806'\n alias: 'Garage Inside: Dehumidifier off when vehicle door opened'\n description: turn off dehumidifier when garage vehicle door is opened.\n trigger:\n - platform: state\n entity_id: switch.sw_garage_vehicledoorcontact\n from: 'off'\n to: 'on'\n for: 00:00:20\n condition:\n - condition: state\n entity_id: switch.plg_garage_dehumidifier\n state: 'on'\n action:\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.plg_garage_dehumidifier\n mode: single", "config": [ { "name": "garage vehicle door contact", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_vehicledoorcontact", "device_id": null } }, { "name": "garage dehumidifier", "room": "garage", "type": "switch", "id": { "entity_id": "switch.plg_garage_dehumidifier", "device_id": null } } ] }, { "id": "'1612462859674'", "automation": "- id: '1612462859674'\n alias: 'Garage Inside: Dehumidifier check when vehicle door closes'\n description: ''\n trigger:\n - platform: state\n entity_id: switch.sw_garage_vehicledoorcontact\n from: 'on'\n to: 'off'\n for: 00:00:20\n condition:\n - condition: and\n conditions:\n - condition: numeric_state\n above: '65.0'\n entity_id: sensor.garage_mean_humidity_calculation\n - condition: state\n entity_id: switch.plg_garage_dehumidifier\n state: 'off'\n action:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.plg_garage_dehumidifier\n mode: single", "config": [ { "name": "garage vehicle door contact", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_vehicledoorcontact", "device_id": null } }, { "name": "garage dehumidifier", "room": "garage", "type": "switch", "id": { "entity_id": "switch.plg_garage_dehumidifier", "device_id": null } }, { "name": "garage mean humidity", "room": "garage", "type": "sensor", "id": { "entity_id": "sensor.garage_mean_humidity_calculation", "device_id": null } } ] }, { "id": "'1612463000537'", "automation": "- id: '1612463000537'\n alias: 'Garage Inside: Dehumidifier on with high humidity'\n description: check garage humidity every 10 minutes and turn on dehumidifier if\n humidity has risen above 65% RH\n trigger:\n - platform: time_pattern\n minutes: /10\n condition:\n - condition: numeric_state\n above: '65.0'\n entity_id: sensor.garage_mean_humidity_calculation\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.plg_garage_dehumidifier\n state: 'off'\n - condition: state\n entity_id: switch.sw_garage_vehicledoorcontact\n state: 'off'\n action:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.plg_garage_dehumidifier\n mode: single", "config": [ { "name": "garage vehicle door contact", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_vehicledoorcontact", "device_id": null } }, { "name": "garage dehumidifier", "room": "garage", "type": "switch", "id": { "entity_id": "switch.plg_garage_dehumidifier", "device_id": null } }, { "name": "garage mean humidity", "room": "garage", "type": "sensor", "id": { "entity_id": "sensor.garage_mean_humidity_calculation", "device_id": null } } ] }, { "id": "'1612463100433'", "automation": "- id: '1612463100433'\n alias: 'Garage Inside: Dehumidifier off with low humidity'\n description: check garage humidity every 15 minutes and turn off dehumidifier if\n humidity has dropped below 61% RH\n trigger:\n - platform: time_pattern\n minutes: /15\n condition:\n - condition: and\n conditions:\n - condition: numeric_state\n entity_id: sensor.garage_mean_humidity_calculation\n below: '61.0'\n - condition: state\n entity_id: switch.plg_garage_dehumidifier\n state: 'on'\n for:\n hours: 1\n minutes: 0\n seconds: 0\n action:\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.plg_garage_dehumidifier\n mode: single", "config": [ { "name": "garage dehumidifier", "room": "garage", "type": "switch", "id": { "entity_id": "switch.plg_garage_dehumidifier", "device_id": null } }, { "name": "garage mean humidity", "room": "garage", "type": "sensor", "id": { "entity_id": "sensor.garage_mean_humidity_calculation", "device_id": null } } ] }, { "id": "'1613012241426'", "automation": "- id: '1613012241426'\n alias: 'Office: Air Purifier on with occupancy'\n description: ''\n triggers:\n - trigger: device\n domain: mqtt\n device_id: ac1685c3f906b6d35a73dd2e5a7ce265\n type: action\n subtype: tilt\n id: tilt\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: binary_sensor.office_presence_sensor_timeout\n state: 'on'\n - condition: state\n entity_id: switch.plg_office_airpurifier\n state: 'off'\n actions:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.plg_office_airpurifier\n mode: restart", "config": [ { "name": "office air purifier", "room": "office", "type": "switch", "id": { "entity_id": "switch.plg_office_airpurifier", "device_id": null } }, { "name": "office presence sensor timeout", "room": "office", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.office_presence_sensor_timeout", "device_id": null } }, { "name": "Device ac1685c3f906b6d35a73dd2e5a7ce265", "room": "Office", "type": "device", "id": { "entity_id": null, "device_id": "ac1685c3f906b6d35a73dd2e5a7ce265" } } ] }, { "id": "'1613012339822'", "automation": "- id: '1613012339822'\n alias: 'Office: Air Purifier off when room is empty'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.office_presence_sensor_presence\n to: 'off'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n condition:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.plg_office_airpurifier\n state: 'on'\n - condition: numeric_state\n entity_id: sensor.snr_outside_airquality_aqi\n below: 100\n - condition: numeric_state\n entity_id: sensor.indoor_mean_air_quality_calculation\n below: 10\n action:\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.plg_office_airpurifier\n mode: single", "config": [ { "name": "office air purifier", "room": "office", "type": "switch", "id": { "entity_id": "switch.plg_office_airpurifier", "device_id": null } }, { "name": "office presence sensor presence", "room": "office", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.office_presence_sensor_presence", "device_id": null } }, { "name": "outside air quality aqi", "room": "outside", "type": "sensor", "id": { "entity_id": "sensor.snr_outside_airquality_aqi", "device_id": null } }, { "name": "indoor mean air quality", "room": "house", "type": "sensor", "id": { "entity_id": "sensor.indoor_mean_air_quality_calculation", "device_id": null } } ] }, { "id": "'1613958937211'", "automation": "- id: '1613958937211'\n alias: 'House: Nofity if water leak detected'\n description: send notification to everyone, including the TV, if water leak is detected.\n triggers:\n - entity_id: binary_sensor.group_leak_sensors\n to: 'on'\n trigger: state\n conditions: []\n actions:\n - action: notify.grp_anne_chris_phones\n data:\n title: β—πŸ’§ Water Detected\n message: Water detected at {{ triggered_leak_sensor }} sensor.\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1\n - action: mqtt.publish\n data:\n topic: awtrix/CLC_Kitchen/notify\n payload: \"{\\n \\\"text\\\": \\\"Water at {{ triggered_leak_sensor }}\\\",\\n \\\"icon\\\"\\\n : \\\"555\\\",\\n \\\"pushIcon\\\": \\\"2\\\",\\n \\\"repeat\\\": 2,\\n \\\"scrollSpeed\\\": 50,\\n\\\n \\ \\\"rtttl\\\": \\\"siren:d=4,o=5,b=100:d,e\\\",\\n \\\"loopSound\\\": true\\n}\"\n - action: notify.grp_all_tvs\n data:\n message: ALERT! Water detected at {{ triggered_leak_sensor }} sensor.\n variables:\n triggered_leak_sensor: \"{% for entity in trigger.to_state.attributes.entity_id\\\n \\ %}\\n {% if is_state(entity, 'on') %}\\n {{ state_attr(entity, 'friendly_name')\\\n \\ }}\\n {% endif %}\\n{% endfor %}\\n\"\n mode: single", "config": [ { "name": "Group Leak Sensors", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.group_leak_sensors", "device_id": null } } ] }, { "id": "'1616274628046'", "automation": "- id: '1616274628046'\n alias: 'Kitchen: Espresso Machine On in the morning'\n description: turn on the espresso machine in the morning (between 05:00 - 10:00)\n when chris' iphone is removed from the charger for 1 minute.\n trigger:\n - platform: state\n entity_id:\n - sensor.turraphone_battery_state\n to: Not Charging\n for:\n hours: 0\n minutes: 1\n seconds: 0\n - platform: state\n entity_id:\n - sensor.toothbrush_chris_toothbrush_state\n to: running\n for:\n hours: 0\n minutes: 0\n seconds: 10\n condition:\n - condition: and\n conditions:\n - condition: state\n state: home\n entity_id: device_tracker.turraphone\n - condition: time\n before: '10:00:00'\n after: 05:00:00\n - condition: state\n state: 'off'\n entity_id: switch.plg_kitchen_espressomachine\n action:\n - action: switch.turn_on\n target:\n entity_id: switch.plg_kitchen_espressomachine\n data: {}\n mode: single", "config": [ { "name": "kitchen espresso machine", "room": "kitchen", "type": "switch", "id": { "entity_id": "switch.plg_kitchen_espressomachine", "device_id": null } }, { "name": "Turraphone Tracker", "room": null, "type": "device_tracker", "id": { "entity_id": "device_tracker.turraphone", "device_id": null } }, { "name": "Toothbrush Chris Toothbrush State", "room": null, "type": "sensor", "id": { "entity_id": "sensor.toothbrush_chris_toothbrush_state", "device_id": null } }, { "name": "Turraphone Battery State", "room": null, "type": "sensor", "id": { "entity_id": "sensor.turraphone_battery_state", "device_id": null } } ] }, { "id": "'1616875296550'", "automation": "- id: '1616875296550'\n alias: 'Crawlspace: Notify when locker door opened'\n description: when locker door is opened notify chris' iphone.\n trigger:\n - platform: state\n to: 'on'\n for: 00:00:02\n entity_id: binary_sensor.snr_crawlspace_lockerdoorcontact_contact\n condition: []\n action:\n - action: notify.mobile_app_turraphone\n data:\n title: ❗πŸšͺ Locker Door Open\n message: Locker Door has been opened\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1\n mode: single", "config": [ { "name": "crawlspace locker door contact", "room": "crawlspace", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_crawlspace_lockerdoorcontact_contact", "device_id": null } } ] }, { "id": "'1617333806988'", "automation": "- id: '1617333806988'\n alias: 'Shed: Flood Light on at night with motion'\n description: turn on shed flood light 15 minutes after sun is below the horizon\n and keep on for 5 minutes after motion is no longer detected.\n trigger:\n - platform: state\n to: 'on'\n entity_id: binary_sensor.snr_outside_shedmotion_occupancy\n id: outside_shed_floodlight_on\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.outside_shed_flood_light_on\n id: outside_shed_floodlight_off\n condition:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n for: 00:15:00\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - outside_shed_floodlight_on\n sequence:\n - action: timer.start\n target:\n entity_id: timer.outside_shed_flood_light_on\n data: {}\n - action: switch.turn_on\n target:\n entity_id: switch.sw_shed_floodlight\n data: {}\n - conditions:\n - condition: trigger\n id:\n - outside_shed_floodlight_off\n sequence:\n - action: switch.turn_off\n target:\n entity_id: switch.sw_shed_floodlight\n data: {}\n mode: restart", "config": [ { "name": "outside shed motion occupancy", "room": "outside", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_outside_shedmotion_occupancy", "device_id": null } }, { "name": "outside shed flood light timer", "room": "outside", "type": "timer", "id": { "entity_id": "timer.outside_shed_flood_light_on", "device_id": null } }, { "name": "shed floodlight", "room": "shed", "type": "switch", "id": { "entity_id": "switch.sw_shed_floodlight", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "'1619640982634'", "automation": "- id: '1619640982634'\n alias: 'Shed: Notify when door left open at night'\n description: notify chris' phone if either shed door is left open for 5 minutes\n when the time is after 22:30.\n trigger:\n - platform: time_pattern\n minutes: /10\n condition:\n - condition: and\n conditions:\n - condition: state\n entity_id: binary_sensor.group_shed_doors\n state: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n - condition: time\n after: '22:30:00'\n action:\n - action: notify.mobile_app_turraphone\n data:\n message: '{{ triggered_door_sensor }} has been left open'\n title: ❗πŸšͺ Shed Door Open\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1\n variables:\n triggered_door_sensor: \"{% for entity in states.binary_sensor.group_shed_doors.attributes.entity_id\\\n \\ %}\\n {% if is_state(entity,'on') %}\\n {{ state_attr(entity, 'friendly_name')\\\n \\ }}\\n {% endif %}\\n{% endfor %}\\n\"\n mode: single", "config": [ { "name": "Group Shed Doors", "room": "Shed", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.group_shed_doors", "device_id": null } } ] }, { "id": "'1619814582936'", "automation": "- id: '1619814582936'\n alias: 'Shed: Fan on when door is opened'\n description: turn on shed exhaust fan for 10 minutes when the door is opened.\n trigger:\n - platform: state\n entity_id: binary_sensor.snr_shed_doorcontact_contact\n from: 'off'\n to: 'on'\n condition:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.sw_shed_fan\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.snr_outside_temperature\n above: 0\n action:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.sw_shed_fan\n - delay:\n hours: 0\n minutes: 10\n seconds: 0\n milliseconds: 0\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.sw_shed_fan\n mode: single", "config": [ { "name": "shed fan", "room": "shed", "type": "switch", "id": { "entity_id": "switch.sw_shed_fan", "device_id": null } }, { "name": "shed door contact", "room": "shed", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_shed_doorcontact_contact", "device_id": null } }, { "name": "outside temperature", "room": "outside", "type": "sensor", "id": { "entity_id": "sensor.snr_outside_temperature", "device_id": null } } ] }, { "id": "'1623889405239'", "automation": "- id: '1623889405239'\n alias: 'Garage Inside: Offer to open vehicle door on return home'\n description: notify chris' phone when it returns home from away and offer to open\n the garage door.\n trigger:\n - platform: state\n entity_id: device_tracker.turraphone\n from: not_home\n to: home\n condition:\n - condition: state\n entity_id: switch.sw_garage_vehicledoorcontact\n state: 'off'\n action:\n - action: notify.mobile_app_turraphone\n data:\n title: Welcome Home!\n message: Would you like to open the Garage Door?\n data:\n actions:\n - action: OPEN_DOOR\n title: Yes Please\n - action: NO_ACTION\n title: No Thanks\n - wait_for_trigger:\n - platform: event\n event_type: mobile_app_notification_action\n event_data:\n action: OPEN_DOOR\n timeout: 00:02:00\n continue_on_timeout: false\n - action: cover.open_cover\n target:\n entity_id: cover.garage_vehicledoor\n mode: single", "config": [ { "name": "garage vehicle door contact", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_vehicledoorcontact", "device_id": null } }, { "name": "garage vehicle door cover", "room": "garage", "type": "cover", "id": { "entity_id": "cover.garage_vehicledoor", "device_id": null } }, { "name": "Turraphone Tracker", "room": null, "type": "device_tracker", "id": { "entity_id": "device_tracker.turraphone", "device_id": null } } ] }, { "id": "'1624131994582'", "automation": "- id: '1624131994582'\n alias: 'Garage Inside: notify when vehicle door opened'\n description: send a notifications when the garage door has been opened.\n triggers:\n - entity_id: switch.sw_garage_vehicledoorcontact\n from: 'off'\n to: 'on'\n for: 00:00:10\n trigger: state\n conditions: []\n actions:\n - action: notify.mobile_app_turraphone\n data:\n title: πŸšͺ Garage Door\n message: The Garage Door has been opened.\n data:\n entity_id: camera.cam_garage\n - action: mqtt.publish\n data:\n topic: awtrix/CLC_Kitchen/notify\n payload: \"{\\n \\\"text\\\": \\\"Garage Door opened\\\",\\n \\\"icon\\\": \\\"555\\\",\\n \\\"\\\n pushIcon\\\": \\\"2\\\",\\n \\\"repeat\\\": 2,\\n \\\"scrollSpeed\\\": 50\\n}\"\n mode: single", "config": [ { "name": "garage vehicle door contact", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_vehicledoorcontact", "device_id": null } }, { "name": "Camera Garage", "room": "Garage", "type": "camera", "id": { "entity_id": "camera.cam_garage", "device_id": null } } ] }, { "id": "'1630907999593'", "automation": "- id: '1630907999593'\n alias: 'Garage Inside: HVAC update outside temperature'\n description: publish outdoor temperature and time to thermostat mqtt topic\n triggers:\n - minutes: /10\n trigger: time_pattern\n conditions: []\n actions:\n - data:\n topic: zigbee2mqtt-pi/HVAC_Garage_Thermostat/set/thermostat_outdoor_temperature\n payload: '{{ states(\"sensor.snr_outside_temperature\") }}'\n action: mqtt.publish\n - data:\n topic: zigbee2mqtt-pi/HVAC_Garage_Thermostat/set/thermostat_time\n payload: ''\n action: mqtt.publish\n mode: restart", "config": [ { "name": "outside temperature", "room": "outside", "type": "sensor", "id": { "entity_id": "sensor.snr_outside_temperature", "device_id": null } } ] }, { "id": "'1631040582872'", "automation": "- id: '1631040582872'\n alias: 'Garage Inside: HVAC off when vehicle door opened'\n description: turn heating mode off on thermostat every time door is opened if outside\n temp is lower than 11c to ensure heater doesn't turn on while vehicle door is\n open.\n triggers:\n - entity_id: switch.sw_garage_vehicledoorcontact\n from: 'off'\n to: 'on'\n for:\n hours: 0\n minutes: 0\n seconds: 2\n trigger: state\n conditions:\n - condition: numeric_state\n entity_id: sensor.snr_outside_temperature\n below: '11'\n actions:\n - action: climate.set_hvac_mode\n data:\n hvac_mode: 'off'\n target:\n entity_id: climate.hvac_garage_thermostat\n mode: single", "config": [ { "name": "garage vehicle door contact", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_vehicledoorcontact", "device_id": null } }, { "name": "garage thermostat", "room": "garage", "type": "climate", "id": { "entity_id": "climate.hvac_garage_thermostat", "device_id": null } }, { "name": "outside temperature", "room": "outside", "type": "sensor", "id": { "entity_id": "sensor.snr_outside_temperature", "device_id": null } } ] }, { "id": "'1631040781299'", "automation": "- id: '1631040781299'\n alias: 'Garage Inside: HVAC on when vehicle door closed'\n description: wait a couple mins after vehicle door closes to ensure temp normalizes,\n if current is below target temp, before returning the thermostat to heating mode.\n triggers:\n - entity_id: switch.sw_garage_vehicledoorcontact\n from: 'on'\n to: 'off'\n for:\n hours: 0\n minutes: 0\n seconds: 2\n trigger: state\n conditions:\n - condition: state\n entity_id: climate.hvac_garage_thermostat\n state: 'off'\n actions:\n - delay:\n hours: 0\n minutes: \"{% set current_temp = state_attr('climate.hvac_garage_thermostat','current_temperature')\\\n \\ %} {% set target_temp = state_attr('climate.hvac_garage_thermostat','temperature')\\\n \\ %} {% if is_number(current_temp) and is_number(target_temp) %}\\n {% set\\\n \\ temp_diff = current_temp | float - target_temp | float %}\\n {# delay if\\\n \\ temp diff is lower to give room time for normalization #}\\n {% if (temp_diff\\\n \\ >= 3.0) %}\\n 0\\n {% elif (temp_diff < 3.0) and (temp_diff > 0.0) %}\\n\\\n \\ 3\\n {% else %}\\n 6\\n {% endif %}\\n{% else %}\\n {# non-numeric number\\\n \\ returned. set a longer delay to be safe #}\\n 6\\n{% endif %}\\n\"\n seconds: 0\n milliseconds: 0\n - action: climate.set_hvac_mode\n data:\n hvac_mode: heat\n target:\n entity_id: climate.hvac_garage_thermostat\n mode: restart", "config": [ { "name": "garage vehicle door contact", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_vehicledoorcontact", "device_id": null } }, { "name": "garage thermostat", "room": "garage", "type": "climate", "id": { "entity_id": "climate.hvac_garage_thermostat", "device_id": null } } ] }, { "id": "'1631739108301'", "automation": "- id: '1631739108301'\n alias: 'Garage Inside: Notify when vehicle door left open at night'\n description: notify chris' phone if the vehicle door is left open for 5 minutes\n when the time is after 22:30.\n triggers:\n - minutes: /10\n trigger: time_pattern\n conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.sw_garage_vehicledoorcontact\n state: 'on'\n for: 00:05:00\n - condition: time\n after: '22:30:00'\n actions:\n - action: notify.mobile_app_turraphone\n data:\n message: Garage Vehicle Door has been left open\n title: ❗πŸšͺ Garage Vehicle Door Open\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1\n mode: single", "config": [ { "name": "garage vehicle door contact", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_vehicledoorcontact", "device_id": null } } ] }, { "id": "'1634070537275'", "automation": "- id: '1634070537275'\n alias: 'Crawlspace: Locker climate controls'\n description: ''\n trigger:\n - platform: time_pattern\n hours: /1\n condition: []\n action:\n - choose:\n - conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.plg_crawlspace_zbrtr\n state: 'on'\n - condition: numeric_state\n entity_id: sensor.snr_crawlspace_locker_climatedisplay_humidity\n below: '49.0'\n sequence:\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.plg_crawlspace_zbrtr\n - conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.plg_crawlspace_zbrtr\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.snr_crawlspace_locker_climatedisplay_humidity\n above: '52.0'\n sequence:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.plg_crawlspace_zbrtr\n default: []\n mode: single", "config": [ { "name": "crawlspace locker dehumidifier", "room": "crawlspace", "type": "switch", "id": { "entity_id": "switch.plg_crawlspace_zbrtr", "device_id": null } }, { "name": "crawlspace locker climate display humidity", "room": "crawlspace", "type": "sensor", "id": { "entity_id": "sensor.snr_crawlspace_locker_climatedisplay_humidity", "device_id": null } } ] }, { "id": "'1634077407692'", "automation": "- id: '1634077407692'\n alias: 'House: Announce if water leak detected'\n description: Announce on Sonos speakers if water leak is detected.\n trigger:\n - platform: state\n entity_id: binary_sensor.group_leak_sensors\n to: 'on'\n condition: []\n action:\n - repeat:\n count: '3'\n sequence:\n - action: script.text_to_speech_on_sonos\n data:\n entity_id: media_player.main_bedroom_speaker, media_player.family_room_speaker\n volume_level: 0.8\n min_wait: 1\n message: ALERT. Water detected at {{ triggered_leak_sensor }} sensor.\n - delay:\n hours: 0\n minutes: 0\n seconds: 3\n milliseconds: 0\n variables:\n triggered_leak_sensor: \"{% for entity in trigger.to_state.attributes.entity_id\\\n \\ %}\\n {% if is_state(entity, 'on') %}\\n {{ state_attr(entity, 'friendly_name')\\\n \\ }}\\n {% endif %}\\n{% endfor %}\\n\"\n mode: single", "config": [ { "name": "main bedroom speaker", "room": "main_bedroom", "type": "media_player", "id": { "entity_id": "media_player.main_bedroom_speaker", "device_id": null } }, { "name": "Group Leak Sensors", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.group_leak_sensors", "device_id": null } } ] }, { "id": "'1634327400385'", "automation": "- id: '1634327400385'\n alias: 'Porch: Lights Off at midnight'\n description: turn porch lights off at midnight.\n trigger:\n - platform: time\n at: '23:59:00'\n condition: []\n action:\n - action: light.turn_off\n data:\n transition: 2\n target:\n entity_id: light.group_porch_lights\n mode: single", "config": [ { "name": "Group Porch Lights", "room": "Porch", "type": "light", "id": { "entity_id": "light.group_porch_lights", "device_id": null } } ] }, { "id": "'1635620369445'", "automation": "- id: '1635620369445'\n alias: 'Crawlspace: Entrance light ON when door opened'\n description: turn on crawlspace entrance lights when door is opened.\n trigger:\n - platform: state\n from: 'off'\n to: 'on'\n entity_id: binary_sensor.snr_crawlspace_entrancedoorcontact_contact\n condition:\n - condition: state\n entity_id: switch.sw_crawlspace_entrancelight\n state: 'off'\n for:\n hours: 0\n minutes: 0\n seconds: 10\n action:\n - action: switch.turn_on\n target:\n entity_id: switch.sw_crawlspace_entrancelight\n mode: single", "config": [ { "name": "crawlspace entrance door contact", "room": "crawlspace", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_crawlspace_entrancedoorcontact_contact", "device_id": null } }, { "name": "crawlspace entrance light", "room": "crawlspace", "type": "switch", "id": { "entity_id": "switch.sw_crawlspace_entrancelight", "device_id": null } } ] }, { "id": "'1638686806697'", "automation": "- id: '1638686806697'\n alias: 'Garage Inside: Lights on when vehicle doors opened after sunset'\n description: turn on garage lights when vehicle door is opened after sunset (returning\n home only).\n trigger:\n - platform: state\n entity_id: switch.sw_garage_vehicledoorcontact\n to: 'on'\n condition:\n - condition: and\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: state\n entity_id: binary_sensor.snr_garage_housedoorcontact_contact\n state: 'off'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n - condition: state\n entity_id: switch.sw_garage_ceilingmainlights\n state: 'off'\n action:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.sw_garage_ceilingmainlights\n mode: single", "config": [ { "name": "garage house door contact", "room": "garage", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_garage_housedoorcontact_contact", "device_id": null } }, { "name": "garage ceiling main lights", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_ceilingmainlights", "device_id": null } }, { "name": "garage vehicle door contact", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_vehicledoorcontact", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "'1642795421437'", "automation": "- id: '1642795421437'\n alias: 'House: Nofity if any always on plug turned Off'\n description: send notification to everyone, including the TV, if an always on plug\n has been off for 1 minute\n trigger:\n - platform: state\n entity_id: switch.group_always_on_plugs\n to: 'off'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n condition: []\n action:\n - action: notify.mobile_app_turraphone\n data:\n title: β—πŸ”Œ Plug Power OFF\n message: Power OFF detected at {{ triggered_plug }}.\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1\n - action: notify.grp_all_tvs\n data:\n message: ALERT! Power OFF at {{ triggered_plug }}.\n mode: single\n variables:\n triggered_plug: \"{% for entity in trigger.to_state.attributes.entity_id %}\\n \\\n \\ {# state could be: off, unavailable and none #}\\n {% if not is_state(entity,\\\n \\ 'on') %}\\n {{ state_attr(entity, 'friendly_name') }}\\n {% endif %}\\n{%\\\n \\ endfor %}\\n\"", "config": [ { "name": "Group Always On Plugs", "room": "House", "type": "switch", "id": { "entity_id": "switch.group_always_on_plugs", "device_id": null } } ] }, { "id": "'1642826717353'", "automation": "- id: '1642826717353'\n alias: 'Laundry: Washing Machine Off if water leak detected'\n description: turn off power to washing machine if water leak sensor is triggered\n in laundry room\n trigger:\n - platform: state\n entity_id: binary_sensor.snr_laundry_washingmachineleak_water_leak\n to: 'on'\n condition: null\n action:\n - action: switch.turn_off\n target:\n entity_id: switch.plg_laundry_washingmachine\n mode: single", "config": [ { "name": "laundry washing machine leak", "room": "laundry", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_laundry_washingmachineleak_water_leak", "device_id": null } }, { "name": "laundry washing machine", "room": "laundry", "type": "switch", "id": { "entity_id": "switch.plg_laundry_washingmachine", "device_id": null } } ] }, { "id": "'1643213265225'", "automation": "- id: '1643213265225'\n alias: 'Crawlspace: Lab light toggle when Button is pressed'\n description: ''\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 99cf4a4d4355f3dd5b3ad658939ae608\n type: action\n subtype: single\n id: single\n conditions: []\n actions:\n - action: light.toggle\n target:\n entity_id: light.blb_crawlspace_lab\n data:\n kelvin: 4500\n brightness: 255\n mode: single", "config": [ { "name": "crawlspace lab light", "room": "crawlspace", "type": "light", "id": { "entity_id": "light.blb_crawlspace_lab", "device_id": null } }, { "name": "Device 99cf4a4d4355f3dd5b3ad658939ae608", "room": "Crawlspace", "type": "device", "id": { "entity_id": null, "device_id": "99cf4a4d4355f3dd5b3ad658939ae608" } } ] }, { "id": "'1645572649812'", "automation": "- id: '1645572649812'\n alias: 'Shed: Ventilation controls'\n description: ''\n trigger:\n - platform: time_pattern\n minutes: /15\n condition: []\n action:\n - choose:\n - conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.sw_shed_fan\n state: 'off'\n - condition: state\n entity_id: sun.sun\n state: above_horizon\n for:\n hours: 0\n minutes: 0\n seconds: 0\n - condition: template\n value_template: \"{{\\n (states('sensor.snr_shed_humidity')|int(default=50)\\\n \\ > (states('sensor.snr_outside_humidity')|int(default=50)+10))\\n}}\"\n - condition: numeric_state\n entity_id: sensor.snr_outside_temperature\n above: '0'\n - condition: not\n conditions:\n - condition: template\n value_template: \"{{\\n 'rainy' in states('weather.pitt_meadows')\\n}}\"\n sequence:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.sw_shed_fan\n - conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.sw_shed_fan\n state: 'on'\n - condition: or\n conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: template\n value_template: \"{{\\n 'rainy' in states('weather.pitt_meadows')\\n}}\"\n sequence:\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.sw_shed_fan\n - conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.sw_shed_fan\n state: 'off'\n - condition: template\n value_template: \"{{\\n (states('sensor.snr_shed_temperature')|int(default=10)\\\n \\ > (states('sensor.snr_outside_temperature')|int(default=10)+10)) and\\n\\\n \\ (states('sensor.snr_shed_temperature')|int(default=10) > 20)\\n}}\"\n sequence:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.sw_shed_fan\n - conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: switch.sw_shed_fan\n state: 'off'\n - condition: state\n entity_id: binary_sensor.snr_shed_doorcontact_contact\n state: 'on'\n sequence:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.sw_shed_fan\n - delay:\n hours: 0\n minutes: 10\n seconds: 0\n milliseconds: 0\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.sw_shed_fan\n - conditions:\n - condition: and\n conditions:\n - condition: state\n entity_id: input_boolean.dry_garlic\n state: 'on'\n - condition: state\n entity_id: switch.sw_shed_fan\n state: 'off'\n - condition: template\n value_template: '{{ now().strftime(\"%M\")|int(default=0) < 15 }}'\n sequence:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.sw_shed_fan\n - delay:\n hours: 0\n minutes: 10\n seconds: 0\n milliseconds: 0\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.sw_shed_fan\n default: []\n mode: single", "config": [ { "name": "shed fan", "room": "shed", "type": "switch", "id": { "entity_id": "switch.sw_shed_fan", "device_id": null } }, { "name": "shed door contact", "room": "shed", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_shed_doorcontact_contact", "device_id": null } }, { "name": "shed humidity", "room": "shed", "type": "sensor", "id": { "entity_id": "sensor.snr_shed_humidity", "device_id": null } }, { "name": "shed temperature", "room": "shed", "type": "sensor", "id": { "entity_id": "sensor.snr_shed_temperature", "device_id": null } }, { "name": "outside humidity", "room": "outside", "type": "sensor", "id": { "entity_id": "sensor.snr_outside_humidity", "device_id": null } }, { "name": "outside temperature", "room": "outside", "type": "sensor", "id": { "entity_id": "sensor.snr_outside_temperature", "device_id": null } }, { "name": "Dry Garlic", "room": "Shed", "type": "input_boolean", "id": { "entity_id": "input_boolean.dry_garlic", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } }, { "name": "Weather Pitt Meadows", "room": null, "type": "weather", "id": { "entity_id": "weather.pitt_meadows", "device_id": null } } ] }, { "id": "'1645861752199'", "automation": "- id: '1645861752199'\n alias: 'Outside: Front lights transition to security mode check'\n description: transition lights from colours to white for security lighting\n trigger:\n - platform: time\n at: '22:30:00'\n condition:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.adhoc_outside_light_colours\n state: 'on'\n - condition: state\n entity_id: input_boolean.christmas_lights_outdoors\n state: 'on'\n - condition: state\n entity_id: input_boolean.halloween_string_lights_outlet\n state: 'on'\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.adhoc_outside_light_colours\n state: 'on'\n sequence:\n - action: scene.turn_on\n data:\n transition: 2\n target:\n entity_id:\n - scene.driveway_bulbs_normal_colour\n - scene.porch_bulbs_normal_colour_dimmed\n - conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: input_boolean.christmas_lights_outdoors\n state: 'on'\n - condition: state\n entity_id: input_boolean.halloween_string_lights_outlet\n state: 'on'\n sequence:\n - action: switch.turn_off\n data: {}\n target:\n entity_id: switch.rcl_outside_porchsoffit\n - action: scene.turn_on\n data:\n transition: 2\n target:\n entity_id:\n - scene.driveway_bulbs_normal_colour\n - scene.porch_bulbs_normal_colour_dimmed\n default: []\n mode: single", "config": [ { "name": "Adhoc Outside Light Colours", "room": "Outside", "type": "input_boolean", "id": { "entity_id": "input_boolean.adhoc_outside_light_colours", "device_id": null } }, { "name": "Christmas Lights Outdoors", "room": "Outside", "type": "input_boolean", "id": { "entity_id": "input_boolean.christmas_lights_outdoors", "device_id": null } }, { "name": "Halloween String Lights Outlet", "room": "Outside", "type": "input_boolean", "id": { "entity_id": "input_boolean.halloween_string_lights_outlet", "device_id": null } }, { "name": "Driveway Bulbs Normal Colour", "room": "Driveway", "type": "scene", "id": { "entity_id": "scene.driveway_bulbs_normal_colour", "device_id": null } }, { "name": "Porch Bulbs Normal Colour Dimmed", "room": "Porch", "type": "scene", "id": { "entity_id": "scene.porch_bulbs_normal_colour_dimmed", "device_id": null } }, { "name": "Outside Porch Soffit", "room": "Outside", "type": "switch", "id": { "entity_id": "switch.rcl_outside_porchsoffit", "device_id": null } } ] }, { "id": "'1645862394431'", "automation": "- id: '1645862394431'\n alias: 'Outside: Lights On at sunset'\n description: turn on outdoor lights shortly after sunset\n trigger:\n - platform: sun\n event: sunset\n offset: 00:15:00\n condition: []\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.adhoc_outside_light_colours\n state: 'on'\n sequence:\n - action: scene.turn_on\n data:\n transition: 2\n target:\n entity_id:\n - scene.driveway_bulbs_adhoc_colours\n - scene.porch_bulbs_adhoc_colours\n - conditions:\n - condition: state\n entity_id: input_boolean.christmas_lights_outdoors\n state: 'on'\n sequence:\n - action: scene.turn_on\n data:\n transition: 2\n target:\n entity_id:\n - scene.driveway_bulbs_christmas_colours\n - scene.porch_bulbs_christmas_colours\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.rcl_outside_porchsoffit\n - conditions:\n - condition: state\n entity_id: input_boolean.halloween_string_lights_outlet\n state: 'on'\n sequence:\n - action: scene.turn_on\n data:\n transition: 2\n target:\n entity_id:\n - scene.driveway_bulbs_halloween_colours\n - scene.porch_bulbs_halloween_colours\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.rcl_outside_porchsoffit\n default:\n - action: scene.turn_on\n data:\n transition: 2\n target:\n entity_id:\n - scene.driveway_bulbs_normal_colour\n - scene.porch_bulbs_normal_colour_dimmed\n - action: light.turn_on\n data: {}\n target:\n entity_id: light.front_door_ring_light\n mode: single", "config": [ { "name": "front door ring light", "room": "outside", "type": "light", "id": { "entity_id": "light.front_door_ring_light", "device_id": null } }, { "name": "Adhoc Outside Light Colours", "room": "Outside", "type": "input_boolean", "id": { "entity_id": "input_boolean.adhoc_outside_light_colours", "device_id": null } }, { "name": "Christmas Lights Outdoors", "room": "Outside", "type": "input_boolean", "id": { "entity_id": "input_boolean.christmas_lights_outdoors", "device_id": null } }, { "name": "Halloween String Lights Outlet", "room": "Outside", "type": "input_boolean", "id": { "entity_id": "input_boolean.halloween_string_lights_outlet", "device_id": null } }, { "name": "Driveway Bulbs Adhoc Colours", "room": "Driveway", "type": "scene", "id": { "entity_id": "scene.driveway_bulbs_adhoc_colours", "device_id": null } }, { "name": "Driveway Bulbs Christmas Colours", "room": "Driveway", "type": "scene", "id": { "entity_id": "scene.driveway_bulbs_christmas_colours", "device_id": null } }, { "name": "Driveway Bulbs Halloween Colours", "room": "Driveway", "type": "scene", "id": { "entity_id": "scene.driveway_bulbs_halloween_colours", "device_id": null } }, { "name": "Driveway Bulbs Normal Colour", "room": "Driveway", "type": "scene", "id": { "entity_id": "scene.driveway_bulbs_normal_colour", "device_id": null } }, { "name": "Porch Bulbs Adhoc Colours", "room": "Porch", "type": "scene", "id": { "entity_id": "scene.porch_bulbs_adhoc_colours", "device_id": null } }, { "name": "Porch Bulbs Christmas Colours", "room": "Porch", "type": "scene", "id": { "entity_id": "scene.porch_bulbs_christmas_colours", "device_id": null } }, { "name": "Porch Bulbs Halloween Colours", "room": "Porch", "type": "scene", "id": { "entity_id": "scene.porch_bulbs_halloween_colours", "device_id": null } }, { "name": "Porch Bulbs Normal Colour Dimmed", "room": "Porch", "type": "scene", "id": { "entity_id": "scene.porch_bulbs_normal_colour_dimmed", "device_id": null } }, { "name": "Outside Porch Soffit", "room": "Outside", "type": "switch", "id": { "entity_id": "switch.rcl_outside_porchsoffit", "device_id": null } } ] }, { "id": "'1664468912980'", "automation": "- id: '1664468912980'\n alias: Downstairs Bathroom Adjust Motion Light timer\n description: Picks up the input helper changes and applies them back to the TASMOTA\n switch via MQTT script\n trigger:\n - platform: state\n entity_id:\n - input_number.downstairs_bathroom_switch_blindtime\n id: blindtime-adjusted\n - platform: state\n entity_id:\n - input_number.downstairs_bathroom_switch_lighttime\n id: lighttime-adjusted\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id: blindtime-adjusted\n sequence:\n - action: script.adjust_motion_light_timer_setting\n data:\n timer: blindtime\n topic: SW_DownstairsBathroom_CeilingLight\n duration: '{{ states(''input_number.downstairs_bathroom_switch_blindtime'')\n | int }}'\n - conditions:\n - condition: trigger\n id: lighttime-adjusted\n sequence:\n - action: script.adjust_motion_light_timer_setting\n data:\n timer: lighttime\n topic: SW_DownstairsBathroom_CeilingLight\n duration: '{{ states(''input_number.downstairs_bathroom_switch_lighttime'')\n | int * 60 }}'\n default: []\n mode: single", "config": [ { "name": "downstairs bathroom switch blindtime", "room": "bathroom", "type": "input_number", "id": { "entity_id": "input_number.downstairs_bathroom_switch_blindtime", "device_id": null } }, { "name": "downstairs bathroom switch lighttime", "room": "bathroom", "type": "input_number", "id": { "entity_id": "input_number.downstairs_bathroom_switch_lighttime", "device_id": null } } ] }, { "id": "'1668805084012'", "automation": "- id: '1668805084012'\n alias: 'Downstairs Bathroom: Light on with Motion'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.snr_bathroomdown_motion_occupancy\n to: 'on'\n condition:\n - condition: state\n entity_id: switch.sw_downstairsbathroom_ceilinglight\n state: 'off'\n for:\n hours: 0\n minutes: 0\n seconds: 5\n action:\n - action: switch.turn_on\n data: {}\n target:\n entity_id: switch.sw_downstairsbathroom_ceilinglight\n mode: single", "config": [ { "name": "downstairs bathroom motion occupancy", "room": "bathroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_bathroomdown_motion_occupancy", "device_id": null } }, { "name": "downstairs bathroom ceiling light", "room": "bathroom", "type": "switch", "id": { "entity_id": "switch.sw_downstairsbathroom_ceilinglight", "device_id": null } } ] }, { "id": "'1673384404017'", "automation": "- id: '1673384404017'\n alias: 'House: Notify on high radon levels'\n description: when radon level 1 day average is above 99 Bq/mΒ³\n trigger:\n - platform: numeric_state\n entity_id: sensor.snr_crawlspace_airquality_radon_1_day_average\n above: 99\n condition: []\n action:\n - action: notify.mobile_app_turraphone\n data:\n title: β—β˜£οΈ High Radon Levels\n message: High radon levels detected\n data:\n push:\n sound:\n name: default\n critical: 1\n volume: 1\n mode: single", "config": [ { "name": "crawlspace air quality radon 1 day average", "room": "crawlspace", "type": "sensor", "id": { "entity_id": "sensor.snr_crawlspace_airquality_radon_1_day_average", "device_id": null } } ] }, { "id": "'1675732388359'", "automation": "- id: '1675732388359'\n alias: 'Ensuite: Toothbrush charge notify'\n description: notify chris before toothbrush runs out of battery.\n trigger:\n - platform: numeric_state\n entity_id: sensor.toothbrush_chris_battery_persistent\n below: 15\n condition: []\n action:\n - action: notify.mobile_app_turraphone\n data:\n title: πŸͺ₯πŸͺ« Toothbrush Battery Low\n message: Time to charge your toothbrush.\n mode: single", "config": [ { "name": "toothbrush chris battery persistent", "room": "bathroom", "type": "sensor", "id": { "entity_id": "sensor.toothbrush_chris_battery_persistent", "device_id": null } } ] }, { "id": "'1678299719527'", "automation": "- id: '1678299719527'\n alias: 'House: Reset maintenance reminders'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - input_boolean.crawlspace_locker_dehumidifier_reset\n - input_boolean.kitchen_dishwasher_cleaning_reset\n - input_boolean.kitchen_espresso_machine_cleaning_reset\n - input_boolean.laundry_washing_machine_cleaning_reset\n - input_boolean.hvac_filter_change_reset\n to: 'on'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.crawlspace_locker_dehumidifier_reset\n state: 'on'\n sequence:\n - action: input_datetime.set_datetime\n target:\n entity_id: input_datetime.crawlspace_locker_dehumidifier_last_dried\n data:\n timestamp: '{{ now().timestamp() }}'\n - action: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.crawlspace_locker_dehumidifier_reset\n - conditions:\n - condition: state\n entity_id: input_boolean.kitchen_dishwasher_cleaning_reset\n state: 'on'\n sequence:\n - action: input_datetime.set_datetime\n target:\n entity_id: input_datetime.kitchen_dishwasher_last_cleaned\n data:\n timestamp: '{{ now().timestamp() }}'\n - action: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.kitchen_dishwasher_cleaning_reset\n - conditions:\n - condition: state\n entity_id: input_boolean.kitchen_espresso_machine_cleaning_reset\n state: 'on'\n sequence:\n - action: input_datetime.set_datetime\n target:\n entity_id: input_datetime.kitchen_espresso_machine_last_cleaned\n data:\n timestamp: '{{ now().timestamp() }}'\n - action: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.kitchen_espresso_machine_cleaning_reset\n - conditions:\n - condition: state\n entity_id: input_boolean.laundry_washing_machine_cleaning_reset\n state: 'on'\n sequence:\n - action: input_datetime.set_datetime\n target:\n entity_id: input_datetime.laundry_washing_machine_last_cleaned\n data:\n timestamp: '{{ now().timestamp() }}'\n - action: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.laundry_washing_machine_cleaning_reset\n - conditions:\n - condition: state\n entity_id: input_boolean.hvac_filter_change_reset\n state: 'on'\n sequence:\n - action: input_datetime.set_datetime\n target:\n entity_id: input_datetime.hvac_filter_last_changed\n data:\n timestamp: '{{ now().timestamp() }}'\n - action: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.hvac_filter_change_reset\n mode: single", "config": [ { "name": "Crawlspace Locker Dehumidifier Reset", "room": "Crawlspace", "type": "input_boolean", "id": { "entity_id": "input_boolean.crawlspace_locker_dehumidifier_reset", "device_id": null } }, { "name": "HVAC Filter Change Reset", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.hvac_filter_change_reset", "device_id": null } }, { "name": "Kitchen Dishwasher Cleaning Reset", "room": "Kitchen", "type": "input_boolean", "id": { "entity_id": "input_boolean.kitchen_dishwasher_cleaning_reset", "device_id": null } }, { "name": "Kitchen Espresso Machine Cleaning Reset", "room": "Kitchen", "type": "input_boolean", "id": { "entity_id": "input_boolean.kitchen_espresso_machine_cleaning_reset", "device_id": null } }, { "name": "Laundry Washing Machine Cleaning Reset", "room": "Laundry", "type": "input_boolean", "id": { "entity_id": "input_boolean.laundry_washing_machine_cleaning_reset", "device_id": null } }, { "name": "Crawlspace Locker Dehumidifier Last Dried", "room": "Crawlspace", "type": "input_datetime", "id": { "entity_id": "input_datetime.crawlspace_locker_dehumidifier_last_dried", "device_id": null } }, { "name": "HVAC Filter Last Changed", "room": null, "type": "input_datetime", "id": { "entity_id": "input_datetime.hvac_filter_last_changed", "device_id": null } }, { "name": "Kitchen Dishwasher Last Cleaned", "room": "Kitchen", "type": "input_datetime", "id": { "entity_id": "input_datetime.kitchen_dishwasher_last_cleaned", "device_id": null } }, { "name": "Kitchen Espresso Machine Last Cleaned", "room": "Kitchen", "type": "input_datetime", "id": { "entity_id": "input_datetime.kitchen_espresso_machine_last_cleaned", "device_id": null } }, { "name": "Laundry Washing Machine Last Cleaned", "room": "Laundry", "type": "input_datetime", "id": { "entity_id": "input_datetime.laundry_washing_machine_last_cleaned", "device_id": null } } ] }, { "id": "'1678563729726'", "automation": "- id: '1678563729726'\n alias: 'Porch: Notify front doorbell ring'\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.front_door_button_pressed\n to: 'on'\n condition: []\n action:\n - action: notify.mobile_app_turraphone\n data:\n message: Someone is at the door\n title: πŸ”” Front Doorbell\n data:\n entity_id: camera.front_door_sub\n mode: single", "config": [ { "name": "front door button pressed", "room": "porch", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_button_pressed", "device_id": null } }, { "name": "Front Door Sub Camera", "room": "Porch", "type": "camera", "id": { "entity_id": "camera.front_door_sub", "device_id": null } } ] }, { "id": "'1682884121773'", "automation": "- id: '1682884121773'\n alias: 'Living Room: Remote controls'\n description: control devices in living room from ikea/symfonisk remote\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 31357218e6ee5e796b62f45d08027950\n type: action\n subtype: play_pause\n id: play_pause\n - trigger: device\n domain: mqtt\n device_id: 31357218e6ee5e796b62f45d08027950\n type: action\n subtype: toggle\n id: toggle\n - trigger: device\n domain: mqtt\n device_id: 31357218e6ee5e796b62f45d08027950\n type: action\n subtype: volume_up\n id: volume_up\n - trigger: device\n domain: mqtt\n device_id: 31357218e6ee5e796b62f45d08027950\n type: action\n subtype: volume_up_hold\n id: volume_up_hold\n - trigger: device\n domain: mqtt\n device_id: 31357218e6ee5e796b62f45d08027950\n type: action\n subtype: volume_down\n id: volume_down\n - trigger: device\n domain: mqtt\n device_id: 31357218e6ee5e796b62f45d08027950\n type: action\n subtype: volume_down_hold\n id: volume_down_hold\n - trigger: device\n domain: mqtt\n device_id: 31357218e6ee5e796b62f45d08027950\n type: action\n subtype: dots_1_initial_press\n id: dots_1_initial_press\n - trigger: device\n domain: mqtt\n device_id: 31357218e6ee5e796b62f45d08027950\n type: action\n subtype: dots_2_initial_press\n id: dots_2_initial_press\n - trigger: device\n domain: mqtt\n device_id: 31357218e6ee5e796b62f45d08027950\n type: action\n subtype: track_next\n id: track_next\n - trigger: device\n domain: mqtt\n device_id: 31357218e6ee5e796b62f45d08027950\n type: action\n subtype: track_previous\n id: track_previous\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: \"{{\\n trigger.id == 'play_pause' or\\n trigger.id == 'toggle'\\n\\\n }}\"\n sequence:\n - if:\n - condition: state\n entity_id: media_player.living_room_tv\n state: 'on'\n - condition: state\n entity_id: media_player.living_room_receiver_main_zone\n state: 'on'\n - condition: not\n conditions:\n - condition: template\n value_template: \"{# receiver is not set to nintendo input #}\\n{{\\nstate_attr('media_player.living_room_receiver_main_zone',\\n\\\n 'source') == 'AV2' \\n}}\"\n then:\n - action: media_player.select_source\n metadata: {}\n data:\n source: AV2\n target:\n entity_id: media_player.living_room_receiver_main_zone\n else:\n - action: switch.toggle\n metadata: {}\n data: {}\n target:\n entity_id: switch.living_room_entertainment_htpc\n - conditions:\n - condition: template\n value_template: \"{{\\n trigger.id == 'volume_up' or\\n trigger.id == 'volume_up_hold'\\\n \\ \\n}}\"\n sequence:\n - action: media_player.volume_set\n data:\n volume_level: '{% set volume = state_attr(''media_player.living_room_receiver_main_zone'',\n \"volume_level\") + 0.005 %} {{ 1.0 if volume > 1.0 else volume }}'\n entity_id: media_player.living_room_receiver_main_zone\n - conditions:\n - condition: template\n value_template: \"{{\\n trigger.id == 'volume_down' or\\n trigger.id == 'volume_down_hold'\\n\\\n }}\"\n sequence:\n - action: media_player.volume_set\n data:\n volume_level: '{% set volume = state_attr(''media_player.living_room_receiver_main_zone'',\n \"volume_level\") - 0.005 %} {{ 0.0 if volume < 0.0 else volume }}'\n entity_id: media_player.living_room_receiver_main_zone\n - conditions:\n - condition: template\n value_template: \"{{\\n trigger.id == 'dots_1_initial_press' \\n}}\"\n sequence:\n - action: light.toggle\n target:\n entity_id: light.sw_livingroom_ceilinglight\n data: {}\n - conditions:\n - condition: template\n value_template: \"{{\\n trigger.id == 'dots_2_initial_press'\\n}}\"\n sequence:\n - if:\n - condition: state\n entity_id: media_player.living_room_tv\n state: 'on'\n - condition: state\n entity_id: media_player.living_room_receiver_main_zone\n state: 'on'\n - condition: not\n conditions:\n - condition: template\n value_template: \"{# receiver is not set to htcp input #}\\n{{\\nstate_attr('media_player.living_room_receiver_main_zone',\\n\\\n 'source') == 'AV3' \\n}}\"\n then:\n - action: media_player.select_source\n metadata: {}\n data:\n source: AV3\n target:\n entity_id: media_player.living_room_receiver_main_zone\n else:\n - action: switch.toggle\n metadata: {}\n data: {}\n target:\n entity_id: switch.living_room_entertainment_nintendo\n - conditions:\n - condition: template\n value_template: \"{% if is_state('light.sw_livingroom_ceilinglight','on') %}\\n\\\n \\ {{ trigger.id == 'track_next' }}\\n{% endif %}\"\n sequence:\n - action: light.turn_on\n data:\n brightness_step_pct: 10\n target:\n entity_id: light.sw_livingroom_ceilinglight\n - conditions:\n - condition: template\n value_template: \"{% if is_state('light.sw_livingroom_ceilinglight','on') %}\\n\\\n \\ {{ trigger.id == 'track_previous' }}\\n{% endif %}\"\n sequence:\n - action: light.turn_on\n data:\n brightness_step_pct: -10\n target:\n entity_id: light.sw_livingroom_ceilinglight\n mode: single", "config": [ { "name": "living room tv", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room_tv", "device_id": null } }, { "name": "living room receiver main zone", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room_receiver_main_zone", "device_id": null } }, { "name": "living room entertainment htpc", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.living_room_entertainment_htpc", "device_id": null } }, { "name": "living room ceiling light", "room": "living_room", "type": "light", "id": { "entity_id": "light.sw_livingroom_ceilinglight", "device_id": null } }, { "name": "living room entertainment nintendo", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.living_room_entertainment_nintendo", "device_id": null } }, { "name": "Device 31357218e6ee5e796b62f45d08027950", "room": "Living Room", "type": "device", "id": { "entity_id": null, "device_id": "31357218e6ee5e796b62f45d08027950" } } ] }, { "id": "'1683261355629'", "automation": "- id: '1683261355629'\n alias: 'Main Bedroom: Remote controls'\n description: control devices in main bedroom from ikea/symfonisk remote\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 04f696559090555013a87476d2cee5b9\n type: action\n subtype: play_pause\n id: play_pause\n - trigger: device\n domain: mqtt\n device_id: 04f696559090555013a87476d2cee5b9\n type: action\n subtype: toggle\n id: toggle\n - trigger: device\n domain: mqtt\n device_id: 04f696559090555013a87476d2cee5b9\n type: action\n subtype: volume_up\n id: volume_up\n - trigger: device\n domain: mqtt\n device_id: 04f696559090555013a87476d2cee5b9\n type: action\n subtype: volume_up_hold\n id: volume_up_hold\n - trigger: device\n domain: mqtt\n device_id: 04f696559090555013a87476d2cee5b9\n type: action\n subtype: volume_down\n id: volume_down\n - trigger: device\n domain: mqtt\n device_id: 04f696559090555013a87476d2cee5b9\n type: action\n subtype: volume_down_hold\n id: volume_down_hold\n - trigger: device\n domain: mqtt\n device_id: 04f696559090555013a87476d2cee5b9\n type: action\n subtype: dots_1_initial_press\n id: dots_1_initial_press\n - trigger: device\n domain: mqtt\n device_id: 04f696559090555013a87476d2cee5b9\n type: action\n subtype: dots_2_initial_press\n id: dots_2_initial_press\n - trigger: device\n domain: mqtt\n device_id: 04f696559090555013a87476d2cee5b9\n type: action\n subtype: track_next\n id: track_next\n - trigger: device\n domain: mqtt\n device_id: 04f696559090555013a87476d2cee5b9\n type: action\n subtype: track_previous\n id: track_previous\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: \"{{\\n trigger.id == 'play_pause' or\\n trigger.id == 'toggle'\\n\\\n }}\"\n sequence:\n - action: switch.toggle\n data: {}\n target:\n entity_id: switch.sw_main_bedroom_entertainment\n - conditions:\n - condition: template\n value_template: \"{{\\n trigger.id == 'volume_up' or\\n trigger.id == 'volume_up_hold'\\\n \\ \\n}}\"\n sequence:\n - action: media_player.volume_up\n data: {}\n target:\n entity_id: media_player.main_bedroom_speaker\n - conditions:\n - condition: template\n value_template: \"{{\\n trigger.id == 'volume_down' or\\n trigger.id == 'volume_down_hold'\\n\\\n }}\"\n sequence:\n - action: media_player.volume_down\n data: {}\n target:\n entity_id: media_player.main_bedroom_speaker\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''dots_1_initial_press'' }}'\n sequence:\n - action: light.toggle\n data: {}\n target:\n entity_id: light.sw_mainbedroom_ceilinglight\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''dots_2_initial_press'' }}'\n sequence:\n - action: light.toggle\n data: {}\n target:\n entity_id: light.blb_main_bedroom_floor_lamp\n - conditions:\n - condition: template\n value_template: \"{% if is_state('light.sw_mainbedroom_ceilinglight','on')\\\n \\ %}\\n {{ trigger.id == 'track_next' }}\\n{% endif %}\"\n sequence:\n - action: light.turn_on\n data:\n brightness_step_pct: 10\n target:\n entity_id: light.sw_mainbedroom_ceilinglight\n - conditions:\n - condition: template\n value_template: \"{% if is_state('light.sw_mainbedroom_ceilinglight','on')\\\n \\ %}\\n {{ trigger.id == 'track_previous' }}\\n{% endif %}\"\n sequence:\n - action: light.turn_on\n data:\n brightness_step_pct: -10\n target:\n entity_id: light.sw_mainbedroom_ceilinglight\n mode: single", "config": [ { "name": "main bedroom floor lamp", "room": "main_bedroom", "type": "light", "id": { "entity_id": "light.blb_main_bedroom_floor_lamp", "device_id": null } }, { "name": "main bedroom speaker", "room": "main_bedroom", "type": "media_player", "id": { "entity_id": "media_player.main_bedroom_speaker", "device_id": null } }, { "name": "main bedroom entertainment", "room": "main_bedroom", "type": "switch", "id": { "entity_id": "switch.sw_main_bedroom_entertainment", "device_id": null } }, { "name": "main bedroom ceiling light", "room": "main_bedroom", "type": "light", "id": { "entity_id": "light.sw_mainbedroom_ceilinglight", "device_id": null } }, { "name": "Device 04f696559090555013a87476d2cee5b9", "room": "Main Bedroom", "type": "device", "id": { "entity_id": null, "device_id": "04f696559090555013a87476d2cee5b9" } } ] }, { "id": "'1683396475246'", "automation": "- id: '1683396475246'\n alias: 'Kids Bedroom: Morning Wake Up Light'\n description: transition lamp light to yellow when it's time to wake up\n trigger:\n - platform: time\n at: 07:00:00\n condition:\n - condition: state\n entity_id: light.blb_kidsbedroom_lamp\n state: 'on'\n action:\n - action: light.turn_on\n data:\n transition: 10\n rgb_color:\n - 254\n - 251\n - 0\n brightness_pct: 30\n target:\n entity_id: light.blb_kidsbedroom_lamp\n mode: single", "config": [ { "name": "kids bedroom lamp", "room": "kids_bedroom", "type": "light", "id": { "entity_id": "light.blb_kidsbedroom_lamp", "device_id": null } } ] }, { "id": "'1683494235541'", "automation": "- id: '1683494235541'\n alias: 'Garage Inside: House door lock controls'\n description: (un)lock door\n trigger:\n - platform: tag\n tag_id: 0248e71d-2da6-44a5-97ee-636c87cd4469\n - platform: state\n entity_id:\n - input_boolean.garage_house_door_lock_toggled\n to: 'on'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: lock.lck_garage_house_door\n state: unlocked\n sequence:\n - action: lock.lock\n data: {}\n target:\n entity_id: lock.lck_garage_house_door\n - conditions:\n - condition: state\n entity_id: lock.lck_garage_house_door\n state: locked\n sequence:\n - action: lock.unlock\n data: {}\n target:\n entity_id: lock.lck_garage_house_door\n - if:\n - condition: state\n entity_id: input_boolean.garage_house_door_lock_toggled\n state: 'on'\n then:\n - action: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.garage_house_door_lock_toggled\n mode: single", "config": [ { "name": "garage house door lock", "room": "garage", "type": "lock", "id": { "entity_id": "lock.lck_garage_house_door", "device_id": null } }, { "name": "Garage House Door Lock Toggled", "room": "Garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.garage_house_door_lock_toggled", "device_id": null } } ] }, { "id": "'1684011953306'", "automation": "- id: '1684011953306'\n alias: 'Deck: Remote Controls'\n description: control multi-media from ikea/symfonisk remote\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 8932c926faee51a637b3ff7707958a3c\n type: action\n subtype: play_pause\n id: play_pause\n - trigger: device\n domain: mqtt\n device_id: 8932c926faee51a637b3ff7707958a3c\n type: action\n subtype: toggle\n id: toggle\n - trigger: device\n domain: mqtt\n device_id: 8932c926faee51a637b3ff7707958a3c\n type: action\n subtype: volume_up\n id: volume_up\n - trigger: device\n domain: mqtt\n device_id: 8932c926faee51a637b3ff7707958a3c\n type: action\n subtype: volume_down\n id: volume_down\n - trigger: device\n domain: mqtt\n device_id: 8932c926faee51a637b3ff7707958a3c\n type: action\n subtype: dots_1_initial_press\n id: dots_1_initial_press\n - trigger: device\n domain: mqtt\n device_id: 8932c926faee51a637b3ff7707958a3c\n type: action\n subtype: track_next\n id: track_next\n - trigger: device\n domain: mqtt\n device_id: 8932c926faee51a637b3ff7707958a3c\n type: action\n subtype: track_previous\n id: track_previous\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: \"{{\\n trigger.id == 'play_pause' or\\n trigger.id == 'toggle'\\n\\\n }}\"\n sequence:\n - action: mqtt.publish\n data:\n topic: cmnd/IRB_Shed/IRSend\n payload: '{\"Protocol\":\"PANASONIC\",\"Bits\":48,\"Data\":\"0x40040538BC81\",\"DataLSB\":\"0x220A01C3D81\",\"Repeat\":0}\n\n '\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''volume_up'' }}'\n sequence:\n - action: mqtt.publish\n data:\n topic: cmnd/IRB_Shed/IRSend\n payload: '{\"Protocol\":\"PANASONIC\",\"Bits\":48,\"Data\":\"0x400405000401\",\"DataLSB\":\"0x220A0002080\",\"Repeat\":0}\n\n '\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''volume_down'' }}'\n sequence:\n - action: mqtt.publish\n data:\n topic: cmnd/IRB_Shed/IRSend\n payload: '{\"Protocol\":\"PANASONIC\",\"Bits\":48,\"Data\":\"0x400405008481\",\"DataLSB\":\"0x220A0002181\",\"Repeat\":0}\n\n '\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''dots_1_initial_press'' }}'\n sequence:\n - action: light.toggle\n data: {}\n target:\n entity_id: light.sw_deck_ceilinglight\n - conditions:\n - condition: template\n value_template: \"{% if is_state('light.sw_deck_ceilinglight','on') %}\\n {{\\\n \\ trigger.id == 'track_next' }}\\n{% endif %}\"\n sequence:\n - action: light.turn_on\n data:\n brightness_step_pct: 10\n target:\n entity_id: light.sw_deck_ceilinglight\n - conditions:\n - condition: template\n value_template: \"{% if is_state('light.sw_deck_ceilinglight','on') %}\\n {{\\\n \\ trigger.id == 'track_previous' }}\\n{% endif %}\"\n sequence:\n - action: light.turn_on\n data:\n brightness_step_pct: -10\n target:\n entity_id: light.sw_deck_ceilinglight", "config": [ { "name": "deck ceiling light", "room": "deck", "type": "light", "id": { "entity_id": "light.sw_deck_ceilinglight", "device_id": null } }, { "name": "Device 8932c926faee51a637b3ff7707958a3c", "room": "Deck", "type": "device", "id": { "entity_id": null, "device_id": "8932c926faee51a637b3ff7707958a3c" } } ] }, { "id": "'1684823367096'", "automation": "- id: '1684823367096'\n alias: 'Kids Bedroom: Remote controls'\n description: control Ikea bulb in kids room from 5 button remote\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 92244798f2ec5e133489ba9a39978d1b\n type: action\n subtype: toggle\n id: toggle\n - trigger: device\n domain: mqtt\n device_id: 92244798f2ec5e133489ba9a39978d1b\n type: action\n subtype: brightness_up_click\n id: brightness_up_click\n - trigger: device\n domain: mqtt\n device_id: 92244798f2ec5e133489ba9a39978d1b\n type: action\n subtype: brightness_down_click\n id: brightness_down_click\n - trigger: device\n domain: mqtt\n device_id: 92244798f2ec5e133489ba9a39978d1b\n type: action\n subtype: arrow_right_click\n id: arrow_right_click\n - trigger: device\n domain: mqtt\n device_id: 92244798f2ec5e133489ba9a39978d1b\n type: action\n subtype: arrow_left_click\n id: arrow_left_click\n - trigger: device\n domain: mqtt\n device_id: 92244798f2ec5e133489ba9a39978d1b\n type: action\n subtype: arrow_right_hold\n id: arrow_right_hold\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''toggle'' }}'\n sequence:\n - action: light.toggle\n target:\n entity_id: light.blb_kidsbedroom_lamp\n data: {}\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''brightness_up_click'' }}'\n sequence:\n - action: light.turn_on\n data:\n transition: 1\n brightness_step_pct: 10\n target:\n entity_id: light.blb_kidsbedroom_lamp\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''brightness_down_click'' }}'\n sequence:\n - action: light.turn_on\n data:\n transition: 1\n brightness_step_pct: -10\n target:\n entity_id: light.blb_kidsbedroom_lamp\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''arrow_right_click'' }}'\n sequence:\n - action: light.turn_on\n data:\n hs_color:\n - '{{ range(360) | random }}'\n - '{{ range(80,101) | random }}'\n transition: 1\n target:\n entity_id: light.blb_kidsbedroom_lamp\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''arrow_left_click'' }}'\n sequence:\n - action: light.turn_on\n data:\n transition: 1\n effect: colorloop\n target:\n entity_id: light.blb_kidsbedroom_lamp\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''arrow_right_hold'' }}'\n sequence:\n - action: light.turn_on\n data:\n transition: 1\n kelvin: 3300\n target:\n entity_id: light.blb_kidsbedroom_lamp\n mode: single", "config": [ { "name": "kids bedroom lamp", "room": "kids_bedroom", "type": "light", "id": { "entity_id": "light.blb_kidsbedroom_lamp", "device_id": null } }, { "name": "Device 92244798f2ec5e133489ba9a39978d1b", "room": "Kids Bedroom", "type": "device", "id": { "entity_id": null, "device_id": "92244798f2ec5e133489ba9a39978d1b" } } ] }, { "id": "'1684988902593'", "automation": "- id: '1684988902593'\n alias: 'Sparebedroom: Remote controls'\n description: control spare bedroom lights from ikea/5-button remote\n triggers:\n - trigger: device\n domain: mqtt\n device_id: 7eb966d6f904921b2ab6a5131ccefa4d\n type: action\n subtype: toggle\n id: toggle\n - trigger: device\n domain: mqtt\n device_id: 7eb966d6f904921b2ab6a5131ccefa4d\n type: action\n subtype: brightness_up_click\n id: brightness_up_click\n - trigger: device\n domain: mqtt\n device_id: 7eb966d6f904921b2ab6a5131ccefa4d\n type: action\n subtype: brightness_down_click\n id: brightness_down_click\n - trigger: device\n domain: mqtt\n device_id: 7eb966d6f904921b2ab6a5131ccefa4d\n type: action\n subtype: arrow_right_click\n id: arrow_right_click\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''toggle'' }}'\n sequence:\n - action: light.toggle\n target:\n entity_id: light.sw_sparebedroom_ceilinglight\n data: {}\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''brightness_up_click'' }}'\n sequence:\n - action: light.turn_on\n data:\n transition: 1\n brightness_step_pct: 10\n target:\n entity_id: light.sw_sparebedroom_ceilinglight\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''brightness_down_click'' }}'\n sequence:\n - action: light.turn_on\n data:\n transition: 1\n brightness_step_pct: -10\n target:\n entity_id: light.sw_sparebedroom_ceilinglight\n - conditions:\n - condition: template\n value_template: '{{ trigger.id == ''arrow_right_click'' }}'\n sequence:\n - action: switch.toggle\n data: {}\n target:\n entity_id: switch.plg_sparebedroom_lamp\n mode: single", "config": [ { "name": "spare bedroom ceiling light", "room": "spare_bedroom", "type": "light", "id": { "entity_id": "light.sw_sparebedroom_ceilinglight", "device_id": null } }, { "name": "spare bedroom lamp", "room": "spare_bedroom", "type": "switch", "id": { "entity_id": "switch.plg_sparebedroom_lamp", "device_id": null } }, { "name": "Device 7eb966d6f904921b2ab6a5131ccefa4d", "room": "Spare Bedroom", "type": "device", "id": { "entity_id": null, "device_id": "7eb966d6f904921b2ab6a5131ccefa4d" } } ] }, { "id": "'1694408321293'", "automation": "- id: '1694408321293'\n alias: 'House: Indoor Lights off at sunrise'\n description: turn off indoor lights just after sunrise.\n trigger:\n - platform: sun\n event: sunrise\n offset: 00:15:00\n condition: []\n action:\n - action: switch.turn_off\n data: {}\n target:\n entity_id:\n - switch.fan_family_room_airpurifier_night_mode\n - switch.fan_main_bedroom_airpurifier_night_mode\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.blb_main_bedroom_floor_lamp\n mode: single", "config": [ { "name": "main bedroom floor lamp", "room": "main_bedroom", "type": "light", "id": { "entity_id": "light.blb_main_bedroom_floor_lamp", "device_id": null } }, { "name": "family room air purifier night mode", "room": "family_room", "type": "switch", "id": { "entity_id": "switch.fan_family_room_airpurifier_night_mode", "device_id": null } }, { "name": "main bedroom air purifier night mode", "room": "main_bedroom", "type": "switch", "id": { "entity_id": "switch.fan_main_bedroom_airpurifier_night_mode", "device_id": null } } ] }, { "id": "'1700159738395'", "automation": "- id: '1700159738395'\n alias: 'Porch: Nofity front door motion'\n description: notify when person detected at front door.\n triggers:\n - entity_id:\n - binary_sensor.front_door_motion_alarm\n to: 'on'\n trigger: state\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: device_tracker.turraphone\n state: not_home\n - condition: not\n conditions:\n - condition: state\n entity_id: timer.outside_porch_motion_snooze\n state: active\n sequence:\n - action: notify.mobile_app_turraphone\n data:\n message: Someone was detected at the front door.\n title: πŸƒπŸ»Person Detected\n data:\n entity_id: camera.front_door_sub\n actions:\n - action: SNOOZE\n title: Snooze\n - action: DISMISS\n title: Dismiss\n - wait_for_trigger:\n - event_type: mobile_app_notification_action\n event_data:\n action: SNOOZE\n trigger: event\n timeout: 00:00:30\n continue_on_timeout: false\n - action: timer.start\n target:\n entity_id: timer.outside_porch_motion_snooze\n data: {}\n - action: notify.grp_all_tvs\n data:\n message: Person Detected at front door\n - action: mqtt.publish\n data:\n topic: awtrix/CLC_Kitchen/notify\n payload: \"{\\n \\\"text\\\": \\\"Person at front door\\\",\\n \\\"icon\\\": \\\"555\\\",\\n \\\n \\ \\\"pushIcon\\\": \\\"2\\\",\\n \\\"scrollSpeed\\\": 50,\\n \\\"repeat\\\": 2\\n \\n}\"\n mode: single", "config": [ { "name": "front door motion alarm", "room": "porch", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_motion_alarm", "device_id": null } }, { "name": "outside porch motion snooze timer", "room": "porch", "type": "timer", "id": { "entity_id": "timer.outside_porch_motion_snooze", "device_id": null } }, { "name": "Front Door Sub Camera", "room": "Porch", "type": "camera", "id": { "entity_id": "camera.front_door_sub", "device_id": null } }, { "name": "Turraphone Tracker", "room": null, "type": "device_tracker", "id": { "entity_id": "device_tracker.turraphone", "device_id": null } } ] }, { "id": "'1700170811227'", "automation": "- id: '1700170811227'\n alias: 'House: Indoor bedtime check'\n description: turn off devices around bedtime.\n trigger:\n - platform: time\n at: '22:30:00'\n condition: []\n action:\n - if:\n - condition: state\n entity_id: input_boolean.christmas_lights_indoors\n state: 'on'\n then:\n - action: switch.turn_off\n data: {}\n target:\n entity_id:\n - switch.sw_familyroom_christmastree\n - switch.sw_familyroom_cornerlight\n - swtich.family_room_garland_light\n mode: single", "config": [ { "name": "family room christmas tree", "room": "family_room", "type": "switch", "id": { "entity_id": "switch.sw_familyroom_christmastree", "device_id": null } }, { "name": "family room corner light", "room": "family_room", "type": "switch", "id": { "entity_id": "switch.sw_familyroom_cornerlight", "device_id": null } }, { "name": "Christmas Lights Indoors", "room": "House", "type": "input_boolean", "id": { "entity_id": "input_boolean.christmas_lights_indoors", "device_id": null } }, { "name": "Family Room Garland Light", "room": "Family Room", "type": "switch", "id": { "entity_id": "swtich.family_room_garland_light", "device_id": null } } ] }, { "id": "'1701748470522'", "automation": "- id: '1701748470522'\n alias: 'House: Front Door lock controls'\n description: (un)lock front door\n trigger:\n - platform: tag\n tag_id: b1075945-02ae-44ae-ba3f-b44aa1f71824\n - platform: state\n entity_id:\n - input_boolean.house_front_door_lock_toggled\n to: 'on'\n condition: []\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: lock.lck_house_front_door\n state: unlocked\n sequence:\n - action: lock.lock\n data: {}\n target:\n entity_id: lock.lck_house_front_door\n - conditions:\n - condition: state\n entity_id: lock.lck_house_front_door\n state: locked\n sequence:\n - action: lock.unlock\n data: {}\n target:\n entity_id: lock.lck_house_front_door\n - if:\n - condition: state\n entity_id: input_boolean.house_front_door_lock_toggled\n state: 'on'\n then:\n - action: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.house_front_door_lock_toggled\n mode: single", "config": [ { "name": "house front door lock", "room": "house", "type": "lock", "id": { "entity_id": "lock.lck_house_front_door", "device_id": null } }, { "name": "House Front Door Lock Toggled", "room": "House", "type": "input_boolean", "id": { "entity_id": "input_boolean.house_front_door_lock_toggled", "device_id": null } } ] }, { "id": "'1706247071335'", "automation": "- id: '1706247071335'\n alias: 'Porch: Lights ON with motion'\n description: turn on porch lights when motion is detected after sunset and return\n to desired state\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.snr_outside_frontporchmotion_occupancy\n to: 'on'\n id: outside_porch_lights_on\n - platform: event\n event_type: timer.finished\n event_data:\n entity_id: timer.outside_porch_lights_on\n id: outside_porch_lights_off\n condition: []\n action:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - outside_porch_lights_on\n sequence:\n - choose:\n - conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: '16:30:00'\n before: '23:59:00'\n sequence:\n - action: timer.start\n target:\n entity_id: timer.outside_porch_lights_on\n data: {}\n - action: scene.turn_on\n target:\n entity_id: scene.porch_bulbs_normal_colour_bright\n data:\n transition: 2\n - conditions:\n - condition: state\n entity_id: sun.sun\n state: below_horizon\n - condition: time\n after: 00:00:00\n before: 06:00:00\n sequence:\n - action: timer.start\n metadata: {}\n data: {}\n target:\n entity_id: timer.outside_porch_lights_on\n - action: scene.turn_on\n target:\n entity_id: scene.porch_bulbs_normal_colour_bright\n data:\n transition: 2\n - conditions:\n - condition: trigger\n id:\n - outside_porch_lights_off\n sequence:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.adhoc_outside_light_colours\n state: 'on'\n - condition: time\n after: '16:30:00'\n before: '22:29:00'\n sequence:\n - action: scene.turn_on\n target:\n entity_id: scene.porch_bulbs_adhoc_colours\n data:\n transition: 2\n - conditions:\n - condition: state\n entity_id: input_boolean.christmas_lights_outdoors\n state: 'on'\n - condition: time\n after: '16:30:00'\n before: '22:29:00'\n sequence:\n - action: scene.turn_on\n target:\n entity_id: scene.porch_bulbs_christmas_colours\n data:\n transition: 2\n - conditions:\n - condition: state\n entity_id: input_boolean.halloween_string_lights_outlet\n state: 'on'\n - condition: time\n after: '16:30:00'\n before: '22:29:00'\n sequence:\n - action: scene.turn_on\n target:\n entity_id: scene.porch_bulbs_halloween_colours\n data:\n transition: 2\n - conditions:\n - condition: state\n entity_id:\n - input_boolean.adhoc_outside_light_colours\n - input_boolean.christmas_lights_indoors\n - input_boolean.halloween_string_lights_outlet\n state: 'off'\n - condition: time\n after: '16:30:00'\n before: '22:29:00'\n sequence:\n - action: scene.turn_on\n target:\n entity_id: scene.porch_bulbs_normal_colour_dimmed\n data:\n transition: 2\n - conditions:\n - condition: time\n after: 00:00:00\n before: 06:00:00\n sequence:\n - action: light.turn_off\n target:\n entity_id: light.group_porch_lights\n data:\n transition: 2\n default:\n - action: scene.turn_on\n target:\n entity_id: scene.porch_bulbs_normal_colour_dimmed\n data:\n transition: 2\n default: []\n mode: restart", "config": [ { "name": "outside porch lights timer", "room": "porch", "type": "timer", "id": { "entity_id": "timer.outside_porch_lights_on", "device_id": null } }, { "name": "outside front porch motion occupancy", "room": "porch", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.snr_outside_frontporchmotion_occupancy", "device_id": null } }, { "name": "Adhoc Outside Light Colours", "room": "Outside", "type": "input_boolean", "id": { "entity_id": "input_boolean.adhoc_outside_light_colours", "device_id": null } }, { "name": "Christmas Lights Indoors", "room": "House", "type": "input_boolean", "id": { "entity_id": "input_boolean.christmas_lights_indoors", "device_id": null } }, { "name": "Christmas Lights Outdoors", "room": "Outside", "type": "input_boolean", "id": { "entity_id": "input_boolean.christmas_lights_outdoors", "device_id": null } }, { "name": "Halloween String Lights Outlet", "room": "Outside", "type": "input_boolean", "id": { "entity_id": "input_boolean.halloween_string_lights_outlet", "device_id": null } }, { "name": "Group Porch Lights", "room": "Porch", "type": "light", "id": { "entity_id": "light.group_porch_lights", "device_id": null } }, { "name": "Porch Bulbs Adhoc Colours", "room": "Porch", "type": "scene", "id": { "entity_id": "scene.porch_bulbs_adhoc_colours", "device_id": null } }, { "name": "Porch Bulbs Christmas Colours", "room": "Porch", "type": "scene", "id": { "entity_id": "scene.porch_bulbs_christmas_colours", "device_id": null } }, { "name": "Porch Bulbs Halloween Colours", "room": "Porch", "type": "scene", "id": { "entity_id": "scene.porch_bulbs_halloween_colours", "device_id": null } }, { "name": "Porch Bulbs Normal Colour Bright", "room": "Porch", "type": "scene", "id": { "entity_id": "scene.porch_bulbs_normal_colour_bright", "device_id": null } }, { "name": "Porch Bulbs Normal Colour Dimmed", "room": "Porch", "type": "scene", "id": { "entity_id": "scene.porch_bulbs_normal_colour_dimmed", "device_id": null } }, { "name": "Sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "'1736622179881'", "automation": "- id: '1736622179881'\n alias: 'Garage Inside: Plant Light Controls'\n description: used when Windmill Palm is brought indoors during the winter.\n triggers:\n - event: sunrise\n id: garage_plant_light_on\n trigger: sun\n - event_type: timer.finished\n event_data:\n entity_id: timer.garage_indoor_plant_light_on\n id: garage_plant_light_off\n trigger: event\n conditions:\n - condition: state\n entity_id: input_boolean.garage_indoor_plant_light\n state: 'on'\n actions:\n - choose:\n - conditions:\n - condition: trigger\n id:\n - garage_plant_light_on\n sequence:\n - action: timer.start\n data: {}\n target:\n entity_id: timer.garage_indoor_plant_light_on\n - action: switch.turn_on\n target:\n entity_id: switch.sw_garage_plant_relay_1\n data: {}\n - conditions:\n - condition: trigger\n id:\n - garage_plant_light_off\n sequence:\n - action: switch.turn_off\n target:\n entity_id: switch.sw_garage_plant_relay_1\n data: {}\n mode: single", "config": [ { "name": "garage plant relay 1", "room": "garage", "type": "switch", "id": { "entity_id": "switch.sw_garage_plant_relay_1", "device_id": null } }, { "name": "garage indoor plant light timer", "room": "garage", "type": "timer", "id": { "entity_id": "timer.garage_indoor_plant_light_on", "device_id": null } }, { "name": "Garage Indoor Plant Light", "room": "Garage", "type": "input_boolean", "id": { "entity_id": "input_boolean.garage_indoor_plant_light", "device_id": null } } ] }, { "id": "'1739058052369'", "automation": "- id: '1739058052369'\n alias: 'Kitchen: Updates to pixel clock'\n description: publish custom apps to awtrix pixel clock\n triggers:\n - minutes: /5\n trigger: time_pattern\n conditions: []\n actions:\n - data:\n topic: awtrix/CLC_Kitchen/custom/weather\n payload: \"{% set weather = states('weather.pitt_meadows') %}\\n{% if 'sun' in\\\n \\ weather.lower() %}\\n {% set icon = 52156 %}\\n{% elif 'rain' in weather.lower()\\\n \\ %}\\n {% set icon = 72 %}\\n{% elif 'snow' in weather.lower() %}\\n {% set\\\n \\ icon = 7123 %}\\n{% elif 'cloud' in weather.lower() %}\\n {% set icon = 91\\\n \\ %}\\n{% elif weather.lower() == 'clear-night' %}\\n {% set icon = 52163 %}\\n\\\n {% else %}\\n {# any other weather state use the cloudy icon #}\\n {% set\\\n \\ icon = 91 %}\\n{% endif %}\\n{\\n \\\"text\\\": \\\"{{ states('sensor.snr_outside_temperature')\\\n \\ }}Β°\\\",\\n \\\"icon\\\": \\\"{{ icon }}\\\"\\n}\"\n action: mqtt.publish\n mode: restart", "config": [ { "name": "outside temperature", "room": "outside", "type": "sensor", "id": { "entity_id": "sensor.snr_outside_temperature", "device_id": null } }, { "name": "Weather Pitt Meadows", "room": null, "type": "weather", "id": { "entity_id": "weather.pitt_meadows", "device_id": null } } ] } ]