[ { "id": "Cliamate · Air Quality · Alert when opening a window", "automation": "- alias: Cliamate · Air Quality · Alert when opening a window\n trigger:\n platform: state\n entity_id:\n - binary_sensor.kitchen_window_contact\n - binary_sensor.living_room_right_window_contact\n - binary_sensor.bedroom_left_window_contact\n - binary_sensor.bedroom_right_window_contact\n from: 'off'\n to: 'on'\n condition:\n - condition: state\n entity_id: binary_sensor.aqi_above_threshold\n state: 'on'\n action:\n - service: script.say\n data:\n message: Hey, the air outside is pretty bad. I suggest closing the windows.", "config": [ { "name": "kitchen window contact", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_window_contact", "device_id": null } }, { "name": "living room right window contact", "room": "living_room", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.living_room_right_window_contact", "device_id": null } }, { "name": "bedroom left window contact", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.bedroom_left_window_contact", "device_id": null } }, { "name": "bedroom right window contact", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.bedroom_right_window_contact", "device_id": null } }, { "name": "aqi above threshold", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.aqi_above_threshold", "device_id": null } }, { "name": "Say", "room": null, "type": "script", "id": { "entity_id": "script.say", "device_id": null } } ] }, { "id": "Cliamate · Air Quality · Alert when AQI drops", "automation": "- alias: Cliamate · Air Quality · Alert when AQI drops\n trigger:\n platform: state\n entity_id: binary_sensor.aqi_above_threshold\n from: 'off'\n to: 'on'\n condition:\n - condition: state\n entity_id:\n - binary_sensor.kitchen_window_contact\n - binary_sensor.living_room_right_window_contact\n - binary_sensor.bedroom_left_window_contact\n - binary_sensor.bedroom_right_window_contact\n state: 'on'\n action:\n - service: script.say\n data:\n message: Hey, the air outside is getting worse, and you have some windows open.\n I suggest closing them.", "config": [ { "name": "kitchen window contact", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_window_contact", "device_id": null } }, { "name": "living room right window contact", "room": "living_room", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.living_room_right_window_contact", "device_id": null } }, { "name": "bedroom left window contact", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.bedroom_left_window_contact", "device_id": null } }, { "name": "bedroom right window contact", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.bedroom_right_window_contact", "device_id": null } }, { "name": "aqi above threshold", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.aqi_above_threshold", "device_id": null } }, { "name": "Say", "room": null, "type": "script", "id": { "entity_id": "script.say", "device_id": null } } ] }, { "id": "Cliamate · Air Quality · Turn on purifier in bedroom on window open", "automation": "- alias: Cliamate · Air Quality · Turn on purifier in bedroom on window open\n trigger:\n platform: state\n entity_id: group.bedroom_windows\n from: 'off'\n to: 'on'\n condition:\n - condition: state\n entity_id: binary_sensor.aqi_above_threshold\n state: 'on'\n action:\n - service: logbook.log\n data:\n name: '💨 Climate Module · '\n message: Purifier On · Air quality is bad outside and a window was opened\n domain: fan\n - service: fan.turn_on\n entity_id: fan.philips_airpurifier\n - service: fan.turn_on\n entity_id: fan.philips_airpurifier\n data:\n speed: Speed 3\n - service: input_select.select_option\n entity_id: input_select.purifier_speed\n data:\n option: 100\n - service: philips_airpurifier_http.set_function\n data:\n entity_id: fan.philips_airpurifier\n function: Purification\n - service: input_boolean.turn_on\n entity_id: input_boolean.purifier_turned_on_for_bad_air", "config": [ { "name": "aqi above threshold", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.aqi_above_threshold", "device_id": null } }, { "name": "bedroom windows group", "room": "bedroom", "type": "group", "id": { "entity_id": "group.bedroom_windows", "device_id": null } }, { "name": "philips airpurifier", "room": "bedroom", "type": "fan", "id": { "entity_id": "fan.philips_airpurifier", "device_id": null } }, { "name": "purifier speed", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.purifier_speed", "device_id": null } }, { "name": "purifier turned on for bad air", "room": "bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.purifier_turned_on_for_bad_air", "device_id": null } } ] }, { "id": "'1699305396452'", "automation": "- id: '1699305396452'\n alias: Terrarium · Climate alert\n description: ''\n trigger:\n - platform: template\n value_template: '{{ states(''sensor.terrarium_weather_temperature'')|float > 29\n or states(''sensor.terrarium_weather_temperature'')|float < 22 }}\n\n '\n for:\n hours: 0\n minutes: 5\n seconds: 0\n id: temperature\n - platform: template\n value_template: '{{ states(''sensor.terrarium_weather_humidity'')|float > 87 or\n states(''sensor.terrarium_weather_humidity'')|float < 60 }}\n\n '\n for:\n hours: 0\n minutes: 5\n seconds: 0\n id: humidity\n condition: []\n action:\n - service: notify.mobile_app_mayas_iphone\n data:\n title: Terrarium · {{ trigger.id }} alert\n message: '{{ trigger.id }} has been out of bounds for 5 mins!'\n data:\n url: /lovelace/terrarium\n mode: single", "config": [ { "name": "terrarium weather temperature", "room": "terrarium", "type": "sensor", "id": { "entity_id": "sensor.terrarium_weather_temperature", "device_id": null } }, { "name": "terrarium weather humidity", "room": "terrarium", "type": "sensor", "id": { "entity_id": "sensor.terrarium_weather_humidity", "device_id": null } } ] }, { "id": "'1699306268852'", "automation": "- id: '1699306268852'\n alias: Printer · Toner warning\n description: ''\n trigger:\n - platform: numeric_state\n entity_id:\n - sensor.printer_black_toner_remaining\n below: 30\n condition: []\n action:\n - service: notify.all_phones\n data:\n title: 'Printer · Low toner '\n message: The printer's toner is below 30%.\n mode: single", "config": [ { "name": "printer black toner remaining", "room": null, "type": "sensor", "id": { "entity_id": "sensor.printer_black_toner_remaining", "device_id": null } } ] }, { "id": "'1699306535213'", "automation": "- id: '1699306535213'\n alias: Printer · Drum warning\n description: ''\n trigger:\n - platform: numeric_state\n entity_id:\n - sensor.printer_drum_remaining_life\n below: 30\n condition: []\n action:\n - service: notify.all_phones\n data:\n title: Printer · Needs new drum\n message: The printer's drum lifespan is below 30%.\n mode: single", "config": [ { "name": "printer drum remaining life", "room": null, "type": "sensor", "id": { "entity_id": "sensor.printer_drum_remaining_life", "device_id": null } } ] }, { "id": "'1699446647329'", "automation": "- id: '1699446647329'\n alias: Bathroom · Turn off fan\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.bathroom_motion_occupancy\n to: 'off'\n for:\n hours: 0\n minutes: 15\n seconds: 0\n condition: []\n action:\n - service: fan.turn_off\n data: {}\n target:\n entity_id: fan.bathroom\n mode: single", "config": [ { "name": "bathroom motion occupancy", "room": "bathroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.bathroom_motion_occupancy", "device_id": null } }, { "name": "bathroom fan", "room": "bathroom", "type": "fan", "id": { "entity_id": "fan.bathroom", "device_id": null } } ] }, { "id": "'1699735427094'", "automation": "- id: '1699735427094'\n alias: Front door · turn on lights\n description: ''\n trigger:\n - platform: state\n entity_id:\n - binary_sensor.front_door_contact\n to: 'on'\n condition: []\n action:\n - service: light.turn_on\n data: {}\n target:\n entity_id:\n - light.hallway_main\n - light.hallway_entrance\n mode: single", "config": [ { "name": "front door contact", "room": "entrance", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_contact", "device_id": null } }, { "name": "hallway main light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hallway_main", "device_id": null } }, { "name": "hallway entrance light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hallway_entrance", "device_id": null } }, { "name": "hallway light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hallway", "device_id": null } } ] }, { "id": "Bathroom · Increase timeout on click", "automation": "- alias: Bathroom · Increase timeout on click\n trigger:\n platform: state\n entity_id: sensor.bathroom_wall_switch_action\n to: single_left\n action:\n - service: input_number.set_value\n entity_id: input_number.bathroom_motion_timeout\n data:\n value: '{{ 1800 if is_state(''light.bathroom'', ''on'') else 900 }}'", "config": [ { "name": "bathroom wall switch action", "room": "bathroom", "type": "sensor", "id": { "entity_id": "sensor.bathroom_wall_switch_action", "device_id": null } }, { "name": "bathroom motion timeout", "room": "bathroom", "type": "input_number", "id": { "entity_id": "input_number.bathroom_motion_timeout", "device_id": null } }, { "name": "bathroom light", "room": "bathroom", "type": "light", "id": { "entity_id": "light.bathroom", "device_id": null } } ] }, { "id": "Bathroom · Motion light", "automation": "- alias: Bathroom · Motion light\n mode: restart\n max_exceeded: silent\n trigger:\n platform: state\n entity_id: binary_sensor.bathroom_motion_occupancy\n from: 'off'\n to: 'on'\n action:\n - service: light.turn_on\n entity_id: light.bathroom\n - wait_for_trigger:\n platform: state\n entity_id: binary_sensor.bathroom_motion_occupancy\n from: 'on'\n to: 'off'\n - delay: '{{ states(''input_number.bathroom_motion_timeout'') | int }}'\n - service: light.turn_off\n entity_id: light.bathroom\n - service: input_number.set_value\n entity_id: input_number.bathroom_motion_timeout\n data:\n value: 900", "config": [ { "name": "bathroom motion occupancy", "room": "bathroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.bathroom_motion_occupancy", "device_id": null } }, { "name": "bathroom motion timeout", "room": "bathroom", "type": "input_number", "id": { "entity_id": "input_number.bathroom_motion_timeout", "device_id": null } }, { "name": "bathroom light", "room": "bathroom", "type": "light", "id": { "entity_id": "light.bathroom", "device_id": null } } ] }, { "id": "Bathroom · Fan on if light on", "automation": "- alias: Bathroom · Fan on if light on\n trigger:\n platform: state\n entity_id: light.bathroom\n to: 'on'\n for: 00:05:00\n action:\n - service: fan.turn_on\n entity_id: fan.bathroom", "config": [ { "name": "bathroom fan", "room": "bathroom", "type": "fan", "id": { "entity_id": "fan.bathroom", "device_id": null } }, { "name": "bathroom light", "room": "bathroom", "type": "light", "id": { "entity_id": "light.bathroom", "device_id": null } } ] }, { "id": "Batteries · Notify when a battery is low", "automation": "- alias: Batteries · Notify when a battery is low\n trigger:\n platform: numeric_state\n entity_id:\n - sensor.trisensor_battery_level\n - sensor.front_door_battery\n - sensor.multisensor_6_battery_level\n - sensor.living_room_right_window_battery\n - sensor.opple_2_battery\n - sensor.desk_switch_battery\n - sensor.bedroom_door_battery\n - sensor.bedroom_left_window_battery\n - sensor.bedroom_right_window_battery\n - sensor.bedroom_weather_battery\n - sensor.opple_1_battery\n - sensor.bedside_switch_battery\n - sensor.bedroom_radiator_battery_level\n - sensor.kitchen_window_battery\n - sensor.kitchen_weather_battery\n - sensor.kitchen_motion_battery\n - sensor.kitchen_radiator_battery_level\n - sensor.bathroom_weather_battery\n - sensor.bathroom_switch_battery\n - sensor.bathroom_motion_battery\n - sensor.hallway_weather_battery\n - sensor.hallway_motion_battery\n - sensor.hallway_motion_2_battery\n - sensor.guest_bedroom_weather_battery\n - sensor.terrarium_weather_battery\n below: 20\n action:\n - service: notify.telegram\n data_template:\n title: ⚙️ *System Module · Low Battery*\n message: '{{ trigger.entity_id + \" is reporting: \" + trigger.to_state.state\n }}'", "config": [ { "name": "trisensor battery level", "room": null, "type": "sensor", "id": { "entity_id": "sensor.trisensor_battery_level", "device_id": null } }, { "name": "front door battery", "room": "entrance", "type": "sensor", "id": { "entity_id": "sensor.front_door_battery", "device_id": null } }, { "name": "multisensor 6 battery level", "room": "living_room", "type": "sensor", "id": { "entity_id": "sensor.multisensor_6_battery_level", "device_id": null } }, { "name": "living room right window battery", "room": "living_room", "type": "sensor", "id": { "entity_id": "sensor.living_room_right_window_battery", "device_id": null } }, { "name": "opple 2 battery", "room": null, "type": "sensor", "id": { "entity_id": "sensor.opple_2_battery", "device_id": null } }, { "name": "desk switch battery", "room": null, "type": "sensor", "id": { "entity_id": "sensor.desk_switch_battery", "device_id": null } }, { "name": "bedroom door battery", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.bedroom_door_battery", "device_id": null } }, { "name": "bedroom left window battery", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.bedroom_left_window_battery", "device_id": null } }, { "name": "bedroom right window battery", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.bedroom_right_window_battery", "device_id": null } }, { "name": "bedroom weather battery", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.bedroom_weather_battery", "device_id": null } }, { "name": "opple 1 battery", "room": null, "type": "sensor", "id": { "entity_id": "sensor.opple_1_battery", "device_id": null } }, { "name": "bedside switch battery", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.bedside_switch_battery", "device_id": null } }, { "name": "bedroom radiator battery level", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.bedroom_radiator_battery_level", "device_id": null } }, { "name": "kitchen window battery", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.kitchen_window_battery", "device_id": null } }, { "name": "kitchen weather battery", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.kitchen_weather_battery", "device_id": null } }, { "name": "kitchen motion battery", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.kitchen_motion_battery", "device_id": null } }, { "name": "kitchen radiator battery level", "room": "kitchen", "type": "sensor", "id": { "entity_id": "sensor.kitchen_radiator_battery_level", "device_id": null } }, { "name": "bathroom weather battery", "room": "bathroom", "type": "sensor", "id": { "entity_id": "sensor.bathroom_weather_battery", "device_id": null } }, { "name": "bathroom switch battery", "room": "bathroom", "type": "sensor", "id": { "entity_id": "sensor.bathroom_switch_battery", "device_id": null } }, { "name": "bathroom motion battery", "room": "bathroom", "type": "sensor", "id": { "entity_id": "sensor.bathroom_motion_battery", "device_id": null } }, { "name": "hallway weather battery", "room": "hallway", "type": "sensor", "id": { "entity_id": "sensor.hallway_weather_battery", "device_id": null } }, { "name": "hallway motion battery", "room": "hallway", "type": "sensor", "id": { "entity_id": "sensor.hallway_motion_battery", "device_id": null } }, { "name": "hallway motion 2 battery", "room": "hallway", "type": "sensor", "id": { "entity_id": "sensor.hallway_motion_2_battery", "device_id": null } }, { "name": "guest bedroom weather battery", "room": "guest_bedroom", "type": "sensor", "id": { "entity_id": "sensor.guest_bedroom_weather_battery", "device_id": null } }, { "name": "terrarium weather battery", "room": "terrarium", "type": "sensor", "id": { "entity_id": "sensor.terrarium_weather_battery", "device_id": null } } ] }, { "id": "Lighting · Bedroom · Door open", "automation": "- alias: Lighting · Bedroom · Door open\n trigger:\n platform: state\n entity_id: binary_sensor.bedroom_door_contact\n to: 'on'\n condition:\n and:\n - condition: sun\n after: sunset\n after_offset: -02:00:00\n - condition: state\n entity_id: input_select.bedroom_mode\n state: day\n action:\n - service: light.turn_on\n entity_id: light.master_bedroom_main", "config": [ { "name": "bedroom door contact", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.bedroom_door_contact", "device_id": null } }, { "name": "bedroom mode", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.bedroom_mode", "device_id": null } }, { "name": "master bedroom main light", "room": "bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom_main", "device_id": null } }, { "name": "Master Bedroom", "room": "Master Bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } } ] }, { "id": "Cadmium · Turn off when idle", "automation": "- alias: Cadmium · Turn off when idle\n trigger:\n platform: numeric_state\n entity_id: sensor.cadmium_idle_time\n above: 180\n action:\n - service: script.cadmium_shutdown\n - service: notify.telegram\n data:\n title: 🖥 *Devices · Cadmium*\n message: Hey, I'm turning Cadmium off. It's been idling for 3 hours.\n - service: logbook.log\n data:\n name: '🖥 Devices · '\n message: Cadmium · Turning off - idling for 3 hours", "config": [ { "name": "cadmium idle time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.cadmium_idle_time", "device_id": null } }, { "name": "Cadmium Shutdown", "room": null, "type": "script", "id": { "entity_id": "script.cadmium_shutdown", "device_id": null } } ] }, { "id": "Living room candle · turn on after sunset", "automation": "- alias: Living room candle · turn on after sunset\n trigger:\n platform: sun\n event: sunset\n action:\n - service: script.living_room_candle_on", "config": [ { "name": "Living Room Candle On", "room": "Living Room", "type": "script", "id": { "entity_id": "script.living_room_candle_on", "device_id": null } } ] }, { "id": "Alarm · Wake up", "automation": "- alias: Alarm · Wake up\n trigger:\n platform: template\n value_template: '{{ states(''sensor.time'') == states(''input_datetime.alarm_time'')[0:5]\n }}'\n condition:\n and:\n - condition: state\n entity_id: input_boolean.alarm_enabled\n state: 'on'\n - condition: state\n entity_id: input_select.bedroom_mode\n state: night\n action:\n - service: script.music_play\n data:\n volume_level: 0.1\n - delay: 00:01:00\n - condition: state\n entity_id: input_select.bedroom_mode\n state: night\n - service: script.sonos_say\n data:\n message: Hey! It's time to wake up!\n volume_level: 0.15\n - delay: 00:00:05\n - service: media_player.volume_set\n entity_id: media_player.master_bedroom\n data:\n volume_level: 0.15\n - delay: 00:02:00\n - condition: state\n entity_id: input_select.bedroom_mode\n state: night\n - service: script.sonos_say\n data:\n message: Good morning! Time to get out of bed!\n volume_level: 0.2\n - delay: 00:00:05\n - service: media_player.volume_set\n entity_id: media_player.master_bedroom\n data:\n volume_level: 0.2\n - delay: 00:05:00\n - condition: state\n entity_id: input_select.bedroom_mode\n state: night\n - service: script.sonos_say\n data:\n message: Hey! It's time to wake up!\n volume_level: 0.3\n - delay: 00:00:05\n - service: media_player.volume_set\n entity_id: media_player.master_bedroom\n data:\n volume_level: 0.3", "config": [ { "name": "bedroom mode", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.bedroom_mode", "device_id": null } }, { "name": "alarm time", "room": "bedroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.alarm_time", "device_id": null } }, { "name": "alarm enabled", "room": "bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.alarm_enabled", "device_id": null } }, { "name": "master bedroom media player", "room": "bedroom", "type": "media_player", "id": { "entity_id": "media_player.master_bedroom", "device_id": null } }, { "name": "Music Play", "room": null, "type": "script", "id": { "entity_id": "script.music_play", "device_id": null } }, { "name": "Sonos Say", "room": null, "type": "script", "id": { "entity_id": "script.sonos_say", "device_id": null } }, { "name": "Time", "room": null, "type": "sensor", "id": { "entity_id": "sensor.time", "device_id": null } } ] }, { "id": "Alarm · Set time", "automation": "- alias: Alarm · Set time\n trigger:\n platform: state\n entity_id: input_select.bedroom_mode\n to: day\n action:\n - service: input_datetime.set_datetime\n data_template:\n entity_id: input_datetime.alarm_time\n time: \"\\n{% if is_state('binary_sensor.workday_tomorrow', 'on') %}\\n 09:20:00\\n\\\n {% else %}\\n 10:20:00\\n{% endif %}\"", "config": [ { "name": "bedroom mode", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.bedroom_mode", "device_id": null } }, { "name": "alarm time", "room": "bedroom", "type": "input_datetime", "id": { "entity_id": "input_datetime.alarm_time", "device_id": null } }, { "name": "workday tomorrow", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.workday_tomorrow", "device_id": null } } ] }, { "id": "Coffee Machine · Turn on in the morning", "automation": "- alias: Coffee Machine · Turn on in the morning\n mode: single\n trigger:\n - platform: state\n entity_id: binary_sensor.bedroom_door_contact\n - platform: state\n entity_id: group.hallway_motion\n condition:\n - condition: time\n after: 08:00:00\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.coffee_machine_turned_on_today\n state: 'off'\n action:\n - service: button.press\n entity_id: button.coffee_machine\n - service: input_boolean.turn_on\n entity_id: input_boolean.coffee_machine_turned_on_today", "config": [ { "name": "bedroom door contact", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.bedroom_door_contact", "device_id": null } }, { "name": "hallway motion group", "room": "hallway", "type": "group", "id": { "entity_id": "group.hallway_motion", "device_id": null } }, { "name": "guest mode", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.guest_mode", "device_id": null } }, { "name": "coffee machine turned on today", "room": "kitchen", "type": "input_boolean", "id": { "entity_id": "input_boolean.coffee_machine_turned_on_today", "device_id": null } }, { "name": "coffee machine button", "room": "kitchen", "type": "button", "id": { "entity_id": "button.coffee_machine", "device_id": null } } ] }, { "id": "Coffee Machine · Reset state at night", "automation": "- alias: Coffee Machine · Reset state at night\n trigger:\n - platform: time\n at: 05:00:00\n action:\n - service: input_boolean.turn_off\n entity_id: input_boolean.coffee_machine_turned_on_today", "config": [ { "name": "coffee machine turned on today", "room": "kitchen", "type": "input_boolean", "id": { "entity_id": "input_boolean.coffee_machine_turned_on_today", "device_id": null } } ] }, { "id": "Light · Color · Default", "automation": "- alias: Light · Color · Default\n trigger:\n platform: state\n entity_id: input_select.light_color_mode\n to: normal\n action:\n - service: scene.turn_on\n entity_id:\n - scene.living_room_ambient_neon\n - scene.bedroom_ambient_neon\n - service: light.turn_on\n entity_id:\n - light.living_room_main\n - light.hue_ambiance_7\n - light.master_bedroom_main\n - light.hallway\n - light.kitchen\n data:\n brightness_pct: 100\n color_temp: 500\n - service: automation.turn_on\n entity_id:\n - automation.lighting_hallway_motion_on\n - automation.lighting_hallway_motion_off\n - automation.lighting_kitchen_motion_on\n - automation.lighting_kitchen_motion_off", "config": [ { "name": "master bedroom main light", "room": "bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom_main", "device_id": null } }, { "name": "light color mode", "room": null, "type": "input_select", "id": { "entity_id": "input_select.light_color_mode", "device_id": null } }, { "name": "living room ambient neon scene", "room": "living_room", "type": "scene", "id": { "entity_id": "scene.living_room_ambient_neon", "device_id": null } }, { "name": "bedroom ambient neon scene", "room": "bedroom", "type": "scene", "id": { "entity_id": "scene.bedroom_ambient_neon", "device_id": null } }, { "name": "living room main light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_main", "device_id": null } }, { "name": "hue ambiance 7 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_ambiance_7", "device_id": null } }, { "name": "hallway light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hallway", "device_id": null } }, { "name": "kitchen light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen", "device_id": null } }, { "name": "living room light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room", "device_id": null } }, { "name": "Hallway Motion Off", "room": "Hallway", "type": "automation", "id": { "entity_id": "automation.lighting_hallway_motion_off", "device_id": null } }, { "name": "Hallway Motion On", "room": "Hallway", "type": "automation", "id": { "entity_id": "automation.lighting_hallway_motion_on", "device_id": null } }, { "name": "Kitchen Motion Off", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_motion_off", "device_id": null } }, { "name": "Kitchen Motion On", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_motion_on", "device_id": null } }, { "name": "Master Bedroom", "room": "Master Bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } } ] }, { "id": "Light · Color · Blue", "automation": "- alias: Light · Color · Blue\n trigger:\n platform: state\n entity_id: input_select.light_color_mode\n to: blue\n action:\n - service: automation.turn_off\n entity_id:\n - automation.lighting_hallway_motion_on\n - automation.lighting_hallway_motion_off\n - automation.lighting_kitchen_motion_on\n - automation.lighting_kitchen_motion_off\n - service: light.turn_off\n entity_id:\n - light.living_room_main\n - light.hallway\n - light.kitchen\n - service: light.turn_on\n entity_id:\n - light.living_room_ambient_main\n - light.bedside\n - light.master_bedroom_main\n data:\n rgb_color:\n - 0\n - 0\n - 255\n brightness_pct: 40\n - service: light.turn_on\n entity_id:\n - light.light_lohas_2\n - light.hue_1\n data:\n rgb_color:\n - 0\n - 0\n - 255\n brightness_pct: 100", "config": [ { "name": "master bedroom main light", "room": "bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom_main", "device_id": null } }, { "name": "light color mode", "room": null, "type": "input_select", "id": { "entity_id": "input_select.light_color_mode", "device_id": null } }, { "name": "living room main light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_main", "device_id": null } }, { "name": "hallway light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hallway", "device_id": null } }, { "name": "kitchen light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen", "device_id": null } }, { "name": "living room ambient main light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_ambient_main", "device_id": null } }, { "name": "bedside light", "room": "bedroom", "type": "light", "id": { "entity_id": "light.bedside", "device_id": null } }, { "name": "light lohas 2", "room": "living_room", "type": "light", "id": { "entity_id": "light.light_lohas_2", "device_id": null } }, { "name": "hue 1 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_1", "device_id": null } }, { "name": "living room ambient light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_ambient", "device_id": null } }, { "name": "living room light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room", "device_id": null } }, { "name": "Hallway Motion Off", "room": "Hallway", "type": "automation", "id": { "entity_id": "automation.lighting_hallway_motion_off", "device_id": null } }, { "name": "Hallway Motion On", "room": "Hallway", "type": "automation", "id": { "entity_id": "automation.lighting_hallway_motion_on", "device_id": null } }, { "name": "Kitchen Motion Off", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_motion_off", "device_id": null } }, { "name": "Kitchen Motion On", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_motion_on", "device_id": null } }, { "name": "Master Bedroom", "room": "Master Bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } } ] }, { "id": "Cover · update state when change requested", "automation": "- alias: Cover · update state when change requested\n trigger:\n platform: state\n entity_id: sensor.cover_changed\n action:\n - delay: 00:00:15\n - service: mqtt.publish\n data_template:\n topic: z2m_deconz/living_room_cover/get\n payload: '{ \"state\": \"\" }'", "config": [ { "name": "cover changed", "room": "living_room", "type": "sensor", "id": { "entity_id": "sensor.cover_changed", "device_id": null } } ] }, { "id": "Cover · Living Room · Open at morning", "automation": "- alias: Cover · Living Room · Open at morning\n trigger:\n platform: time\n at: '10:00:00'\n action:\n - service: script.open_living_room_cover", "config": [ { "name": "Open Living Room Cover", "room": "Living Room", "type": "script", "id": { "entity_id": "script.open_living_room_cover", "device_id": null } } ] }, { "id": "Cover · Living Room · Close after sunset", "automation": "- alias: Cover · Living Room · Close after sunset\n trigger:\n platform: sun\n event: sunset\n action:\n - service: cover.close_cover\n entity_id: cover.living_room", "config": [ { "name": "living room cover", "room": "living_room", "type": "cover", "id": { "entity_id": "cover.living_room", "device_id": null } } ] }, { "id": "System · Announce start", "automation": "- alias: System · Announce start\n trigger:\n platform: homeassistant\n event: start\n action:\n - delay: 00:00:03\n - service: script.chat\n data:\n title: ⚙️ *System Module · Status*\n message: Hey I was out for a bit, but I'm back online", "config": [ { "name": "Chat", "room": null, "type": "script", "id": { "entity_id": "script.chat", "device_id": null } } ] }, { "id": "System · Telegram · Announce status", "automation": "- alias: System · Telegram · Announce status\n trigger:\n platform: event\n event_type: telegram_command\n event_data:\n command: /status\n action:\n - service: notify.telegram\n data_template:\n title: ⚙️ *System Module · Status*\n message: \"\\nGuest mode: {{ states('input_boolean.guest_mode') }}\\nWindows:\\n\\\n \\ Living room: {{ states('binary_sensor.living_room_right_window_contact')\\\n \\ }}\\n Master bedroom: {{ states('binary_sensor.bedroom_right_window_contact')\\\n \\ }}\\n\\nLights:\\n Living room: {{ states('light.living_room') }}\\n Master\\\n \\ bedroom: {{ states('light.master_bedroom') }}\\n Kitchen: {{ states('light.kitchen')\\\n \\ }}\\n Hallway: {{ states('light.hallway') }}\"", "config": [ { "name": "living room right window contact", "room": "living_room", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.living_room_right_window_contact", "device_id": null } }, { "name": "bedroom right window contact", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.bedroom_right_window_contact", "device_id": null } }, { "name": "guest mode", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.guest_mode", "device_id": null } }, { "name": "hallway light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hallway", "device_id": null } }, { "name": "kitchen light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen", "device_id": null } }, { "name": "living room light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room", "device_id": null } }, { "name": "Master Bedroom", "room": "Master Bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } } ] }, { "id": "IFTTT · Call service", "automation": "- alias: IFTTT · Call service\n trigger:\n platform: event\n event_type: ifttt_webhook_received\n event_data:\n action: call-service\n action:\n - service: '{{ trigger.event.data.service }}'\n data_template:\n entity_id: '{{ trigger.event.data.entity_id }}'", "config": [] }, { "id": "Domestina · Automate start", "automation": "- alias: Domestina · Automate start\n trigger:\n platform: time\n at: 08:30:00\n condition:\n - condition: time\n weekday: thu\n action:\n - service: input_boolean.turn_on\n entity_id: input_boolean.domestina", "config": [ { "name": "domestina", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.domestina", "device_id": null } } ] }, { "id": "Domestina · Start", "automation": "- alias: Domestina · Start\n trigger:\n platform: state\n entity_id: input_boolean.domestina\n from: 'off'\n to: 'on'\n action:\n - service: input_boolean.turn_on\n entity_id: input_boolean.guest_mode\n - service: automation.turn_off\n entity_id: group.domestina_disabled_automations", "config": [ { "name": "guest mode", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.guest_mode", "device_id": null } }, { "name": "domestina", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.domestina", "device_id": null } }, { "name": "Domestina Disabled Automations", "room": null, "type": "group", "id": { "entity_id": "group.domestina_disabled_automations", "device_id": null } } ] }, { "id": "Domestina · Automate end", "automation": "- alias: Domestina · Automate end\n trigger:\n platform: time\n at: '13:00:00'\n condition:\n - condition: time\n weekday: thu\n action:\n - service: input_boolean.turn_off\n entity_id: input_boolean.domestina", "config": [ { "name": "domestina", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.domestina", "device_id": null } } ] }, { "id": "Domestina · End", "automation": "- alias: Domestina · End\n trigger:\n platform: state\n entity_id: input_boolean.domestina\n from: 'on'\n to: 'off'\n action:\n - service: input_boolean.turn_off\n entity_id: input_boolean.guest_mode\n - service: automation.turn_on\n entity_id: group.domestina_disabled_automations", "config": [ { "name": "guest mode", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.guest_mode", "device_id": null } }, { "name": "domestina", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.domestina", "device_id": null } }, { "name": "Domestina Disabled Automations", "room": null, "type": "group", "id": { "entity_id": "group.domestina_disabled_automations", "device_id": null } } ] }, { "id": "Guest mode · Change", "automation": "- alias: Guest mode · Change\n trigger:\n platform: state\n entity_id: input_boolean.guest_mode\n action:\n choose:\n - conditions: '{{ trigger.to_state == ''on'' }}'\n sequence:\n - service: automation.turn_off\n entity_id:\n - automation.presence_leaving_home\n - automation.presence_coming_home\n - service: input_boolean.turn_off\n entity_id: input_boolean.speech_notifications\n - conditions: '{{ trigger.to_state == ''off'' }}'\n sequence:\n - service: automation.turn_on\n entity_id:\n - automation.presence_leaving_home\n - automation.presence_coming_home\n - service: input_boolean.turn_on\n entity_id: input_boolean.speech_notifications", "config": [ { "name": "guest mode", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.guest_mode", "device_id": null } }, { "name": "speech notifications", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.speech_notifications", "device_id": null } }, { "name": "Presence Coming Home", "room": null, "type": "automation", "id": { "entity_id": "automation.presence_coming_home", "device_id": null } }, { "name": "Presence Leaving Home", "room": null, "type": "automation", "id": { "entity_id": "automation.presence_leaving_home", "device_id": null } } ] }, { "id": "Lighting · Hallway · Motion On", "automation": "- alias: Lighting · Hallway · Motion On\n trigger:\n platform: state\n entity_id: group.hallway_motion\n to: 'on'\n condition:\n condition: state\n entity_id: binary_sensor.someone_home\n state: 'on'\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: binary_sensor.someone_sleeping\n state: 'off'\n sequence:\n - service: light.turn_on\n entity_id:\n - light.hallway\n - light.browser_hallway\n data:\n brightness_pct: 100\n default:\n - service: light.turn_on\n entity_id:\n - light.hue_white_1\n - light.hue_1\n data:\n brightness_pct: 1\n - service: script.browser_hallway_low", "config": [ { "name": "hallway motion group", "room": "hallway", "type": "group", "id": { "entity_id": "group.hallway_motion", "device_id": null } }, { "name": "hallway light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hallway", "device_id": null } }, { "name": "hue 1 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_1", "device_id": null } }, { "name": "someone home", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.someone_home", "device_id": null } }, { "name": "someone sleeping", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.someone_sleeping", "device_id": null } }, { "name": "browser hallway light", "room": "hallway", "type": "light", "id": { "entity_id": "light.browser_hallway", "device_id": null } }, { "name": "hue white 1 light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hue_white_1", "device_id": null } }, { "name": "Browser Hallway Low", "room": "Hallway", "type": "script", "id": { "entity_id": "script.browser_hallway_low", "device_id": null } } ] }, { "id": "Lighting · Hallway · Motion Off", "automation": "- alias: Lighting · Hallway · Motion Off\n trigger:\n platform: state\n entity_id: group.hallway_motion\n to: 'off'\n for: 00:01:00\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: binary_sensor.someone_sleeping\n state: 'off'\n sequence:\n - service: light.turn_off\n entity_id:\n - light.hallway\n - service: script.browser_hallway_low\n default:\n - service: light.turn_off\n entity_id:\n - light.hue_white_1\n - light.hue_1\n - light.hallway_main\n - light.hallway_entrace\n - service: script.browser_hallway_low", "config": [ { "name": "hallway main light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hallway_main", "device_id": null } }, { "name": "hallway motion group", "room": "hallway", "type": "group", "id": { "entity_id": "group.hallway_motion", "device_id": null } }, { "name": "hallway light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hallway", "device_id": null } }, { "name": "hue 1 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_1", "device_id": null } }, { "name": "someone sleeping", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.someone_sleeping", "device_id": null } }, { "name": "hue white 1 light", "room": "hallway", "type": "light", "id": { "entity_id": "light.hue_white_1", "device_id": null } }, { "name": "hallway entrance light 2", "room": "hallway", "type": "light", "id": { "entity_id": "light.hallway_entrace", "device_id": null } }, { "name": "Browser Hallway Low", "room": "Hallway", "type": "script", "id": { "entity_id": "script.browser_hallway_low", "device_id": null } } ] }, { "id": "Bedroom mode · Change", "automation": "- alias: Bedroom mode · Change\n trigger:\n platform: state\n entity_id: input_select.bedroom_mode\n action:\n - choose:\n - conditions: '{{ trigger.to_state.state == ''day'' }}'\n sequence:\n - service: script.routine_bedroom_morning\n - conditions: '{{ trigger.to_state.state == ''bed'' }}'\n sequence:\n - service: script.routine_bedroom_bedtime\n - conditions: '{{ trigger.to_state.state == ''night'' }}'\n sequence:\n - service: script.bedroom_good_night", "config": [ { "name": "bedroom mode", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.bedroom_mode", "device_id": null } }, { "name": "Bedroom Good Night", "room": "Master Bedroom", "type": "script", "id": { "entity_id": "script.bedroom_good_night", "device_id": null } }, { "name": "Routine Bedroom Bedtime", "room": "Master Bedroom", "type": "script", "id": { "entity_id": "script.routine_bedroom_bedtime", "device_id": null } }, { "name": "Routine Bedroom Morning", "room": "Master Bedroom", "type": "script", "id": { "entity_id": "script.routine_bedroom_morning", "device_id": null } } ] }, { "id": "Guest Bedroom mode · Set to night", "automation": "- alias: Guest Bedroom mode · Set to night\n trigger:\n platform: state\n entity_id: input_select.guest_bedroom_mode\n to: night\n action:\n - service: light.turn_off\n entity_id: light.tradfri_large", "config": [ { "name": "guest bedroom mode", "room": "guest_bedroom", "type": "input_select", "id": { "entity_id": "input_select.guest_bedroom_mode", "device_id": null } }, { "name": "tradfri large light", "room": "guest_bedroom", "type": "light", "id": { "entity_id": "light.tradfri_large", "device_id": null } } ] }, { "id": "House mode · Change", "automation": "- alias: House mode · Change\n trigger:\n platform: state\n entity_id: sensor.house_mode\n action:\n choose:\n - conditions: '{{ trigger.to_state.state == ''day'' }}'\n sequence:\n - service: script.routine_waking_up\n - conditions: '{{ trigger.to_state.state == ''night'' }}'\n sequence:\n - service: script.routine_good_night", "config": [ { "name": "house mode", "room": null, "type": "sensor", "id": { "entity_id": "sensor.house_mode", "device_id": null } }, { "name": "Routine Good Night", "room": null, "type": "script", "id": { "entity_id": "script.routine_good_night", "device_id": null } }, { "name": "Routine Waking Up", "room": null, "type": "script", "id": { "entity_id": "script.routine_waking_up", "device_id": null } } ] }, { "id": "iOS · Alarm off", "automation": "- alias: iOS · Alarm off\n trigger:\n platform: event\n event_type: ios.action_fired\n action:\n choose:\n - conditions: '{{ trigger.event.data.actionName == ''alarm_off'' }}'\n sequence:\n - service: notify.telegram\n data:\n title: 📱 *iOS Module*\n message: iOS alarm is off. Switching to Day Mode!\n - service: input_select.select_option\n entity_id: input_select.bedroom_mode\n data:\n option: day\n - conditions: '{{ trigger.event.data.actionName == ''wind_down'' }}'\n sequence:\n - service: notify.telegram\n data:\n title: 📱 *iOS Module*\n message: iOS wind_down is on. Switching to Bed Mode!\n - service: input_select.select_option\n entity_id: input_select.bedroom_mode\n data:\n option: bed\n - conditions: '{{ trigger.event.data.actionName == ''bedtime'' }}'\n sequence:\n - service: notify.telegram\n data:\n title: 📱 *iOS Module*\n message: iOS bedtime is on. Switching to Night Mode!\n - service: input_select.select_option\n entity_id: input_select.bedroom_mode\n data:\n option: night", "config": [ { "name": "bedroom mode", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.bedroom_mode", "device_id": null } } ] }, { "id": "Christmas lights change", "automation": "- alias: Christmas lights change\n trigger:\n - platform: state\n entity_id:\n - input_select.isparkle_color\n - input_select.isparkle_fade\n - input_number.isparkle_fade_1\n - input_number.isparkle_fade_2\n - input_number.isparkle_brightness_1\n - input_number.isparkle_brightness_2\n action:\n service: rest_command.isparkle_set\n data_template:\n color: '{{ states(''input_select.isparkle_color'') }}'\n fn: '{{ states(''input_select.isparkle_fade'') }}'\n brightness1: '{{ states(''input_number.isparkle_brightness_1'') | int }}'\n timing1: '{{ states(''input_number.isparkle_fade_1'') | int}}'\n brightness2: '{{ states(''input_number.isparkle_brightness_2'') | int }}'\n timing2: '{{ states(''input_number.isparkle_fade_2'') | int }}'", "config": [ { "name": "isparkle color", "room": null, "type": "input_select", "id": { "entity_id": "input_select.isparkle_color", "device_id": null } }, { "name": "isparkle fade", "room": null, "type": "input_select", "id": { "entity_id": "input_select.isparkle_fade", "device_id": null } }, { "name": "isparkle fade 1", "room": null, "type": "input_number", "id": { "entity_id": "input_number.isparkle_fade_1", "device_id": null } }, { "name": "isparkle fade 2", "room": null, "type": "input_number", "id": { "entity_id": "input_number.isparkle_fade_2", "device_id": null } }, { "name": "isparkle brightness 1", "room": null, "type": "input_number", "id": { "entity_id": "input_number.isparkle_brightness_1", "device_id": null } }, { "name": "isparkle brightness 2", "room": null, "type": "input_number", "id": { "entity_id": "input_number.isparkle_brightness_2", "device_id": null } } ] }, { "id": "Lighting · Kitchen · Motion on", "automation": "- alias: Lighting · Kitchen · Motion on\n trigger:\n platform: state\n entity_id: binary_sensor.kitchen_motion_occupancy\n to: 'on'\n condition:\n condition: state\n entity_id: binary_sensor.someone_home\n state: 'on'\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: sensor.house_mode\n state: day\n sequence:\n - service: light.turn_on\n entity_id: light.browser_kitchen\n data:\n brightness_pct: 100\n - or:\n - or:\n - condition: sun\n after: sunset\n after_offset: -01:00:00\n - condition: sun\n before: sunrise\n - service: light.turn_on\n entity_id: light.kitchen\n data:\n brightness_pct: 100\n default:\n - service: light.turn_on\n entity_id:\n - light.hue_ambiance_6\n - light.hue_ambiance_1\n data:\n brightness_pct: 1\n - service: script.browser_kitchen_low", "config": [ { "name": "kitchen light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen", "device_id": null } }, { "name": "someone home", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.someone_home", "device_id": null } }, { "name": "house mode", "room": null, "type": "sensor", "id": { "entity_id": "sensor.house_mode", "device_id": null } }, { "name": "kitchen motion occupancy", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_motion_occupancy", "device_id": null } }, { "name": "browser kitchen light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.browser_kitchen", "device_id": null } }, { "name": "hue ambiance 6 light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.hue_ambiance_6", "device_id": null } }, { "name": "hue ambiance 1 light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.hue_ambiance_1", "device_id": null } }, { "name": "Browser Kitchen Low", "room": "Kitchen", "type": "script", "id": { "entity_id": "script.browser_kitchen_low", "device_id": null } } ] }, { "id": "Lighting · Kitchen · Night · Motion off", "automation": "- alias: Lighting · Kitchen · Night · Motion off\n trigger:\n platform: state\n entity_id: binary_sensor.kitchen_motion_occupancy\n to: 'off'\n for:\n minutes: 5\n condition:\n condition: not\n conditions:\n - condition: state\n entity_id: sensor.house_mode\n state: day\n action:\n - service: light.turn_on\n entity_id:\n - light.hue_ambiance_6\n - light.hue_ambiance_1\n data:\n brightness_pct: 100\n - service: light.turn_off\n entity_id:\n - light.hue_ambiance_6\n - light.hue_ambiance_1\n - light.kitchen_main\n - light.kitchen_secondary\n - service: script.browser_kitchen_low", "config": [ { "name": "kitchen light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen", "device_id": null } }, { "name": "house mode", "room": null, "type": "sensor", "id": { "entity_id": "sensor.house_mode", "device_id": null } }, { "name": "kitchen motion occupancy", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_motion_occupancy", "device_id": null } }, { "name": "hue ambiance 6 light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.hue_ambiance_6", "device_id": null } }, { "name": "hue ambiance 1 light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.hue_ambiance_1", "device_id": null } }, { "name": "kitchen main light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen_main", "device_id": null } }, { "name": "kitchen secondary light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen_secondary", "device_id": null } }, { "name": "Browser Kitchen Low", "room": "Kitchen", "type": "script", "id": { "entity_id": "script.browser_kitchen_low", "device_id": null } } ] }, { "id": "Lighting · Kitchen · Day · Motion off", "automation": "- alias: Lighting · Kitchen · Day · Motion off\n trigger:\n platform: state\n entity_id: binary_sensor.kitchen_motion_occupancy\n to: 'off'\n for:\n minutes: 15\n condition:\n condition: state\n entity_id: sensor.house_mode\n state: day\n action:\n - service: light.turn_off\n entity_id: light.kitchen\n - service: script.browser_kitchen_low", "config": [ { "name": "kitchen light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen", "device_id": null } }, { "name": "house mode", "room": null, "type": "sensor", "id": { "entity_id": "sensor.house_mode", "device_id": null } }, { "name": "kitchen motion occupancy", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_motion_occupancy", "device_id": null } }, { "name": "Browser Kitchen Low", "room": "Kitchen", "type": "script", "id": { "entity_id": "script.browser_kitchen_low", "device_id": null } } ] }, { "id": "Lightning · Living room · Motion on", "automation": "- alias: Lightning · Living room · Motion on\n trigger:\n - platform: state\n entity_id: binary_sensor.multisensor_6_home_security_motion_detection\n to: 'on'\n - platform: state\n entity_id: binary_sensor.living_room_presence\n to: 'on'\n condition:\n - condition: state\n entity_id: binary_sensor.someone_home\n state: 'on'\n - condition: sun\n after: sunset\n after_offset: -00:30:00\n - condition: state\n entity_id: sensor.house_mode\n state: day\n - condition: state\n entity_id: input_boolean.living_room_motion_lights\n state: 'on'\n action:\n - service: light.turn_on\n entity_id:\n - light.light_le_1\n - light.light_le_2\n - light.light_le_3\n - light.light_le_4\n - light.hue_ambiance_7", "config": [ { "name": "hue ambiance 7 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_ambiance_7", "device_id": null } }, { "name": "someone home", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.someone_home", "device_id": null } }, { "name": "house mode", "room": null, "type": "sensor", "id": { "entity_id": "sensor.house_mode", "device_id": null } }, { "name": "multisensor 6 home security motion detection", "room": "living_room", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.multisensor_6_home_security_motion_detection", "device_id": null } }, { "name": "living room presence", "room": "living_room", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.living_room_presence", "device_id": null } }, { "name": "living room motion lights", "room": "living_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.living_room_motion_lights", "device_id": null } }, { "name": "light le 1", "room": "living_room", "type": "light", "id": { "entity_id": "light.light_le_1", "device_id": null } }, { "name": "light le 2", "room": "living_room", "type": "light", "id": { "entity_id": "light.light_le_2", "device_id": null } }, { "name": "light le 3", "room": "living_room", "type": "light", "id": { "entity_id": "light.light_le_3", "device_id": null } }, { "name": "light le 4", "room": "living_room", "type": "light", "id": { "entity_id": "light.light_le_4", "device_id": null } } ] }, { "id": "Lightning · Living room · Motion off", "automation": "- alias: Lightning · Living room · Motion off\n trigger:\n - platform: state\n entity_id: binary_sensor.living_room_presence\n to: 'off'\n for:\n minutes: 5\n condition:\n - condition: state\n entity_id: input_boolean.living_room_motion_lights\n state: 'on'\n action:\n - service: light.turn_off\n entity_id:\n - light.light_le_1\n - light.light_le_2\n - light.light_le_3\n - light.light_le_4\n - light.hue_ambiance_7", "config": [ { "name": "hue ambiance 7 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_ambiance_7", "device_id": null } }, { "name": "living room presence", "room": "living_room", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.living_room_presence", "device_id": null } }, { "name": "living room motion lights", "room": "living_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.living_room_motion_lights", "device_id": null } }, { "name": "light le 1", "room": "living_room", "type": "light", "id": { "entity_id": "light.light_le_1", "device_id": null } }, { "name": "light le 2", "room": "living_room", "type": "light", "id": { "entity_id": "light.light_le_2", "device_id": null } }, { "name": "light le 3", "room": "living_room", "type": "light", "id": { "entity_id": "light.light_le_3", "device_id": null } }, { "name": "light le 4", "room": "living_room", "type": "light", "id": { "entity_id": "light.light_le_4", "device_id": null } } ] }, { "id": "Mercury · Power on at 10am when guest mode enabled", "automation": "- alias: Mercury · Power on at 10am when guest mode enabled\n trigger:\n - platform: time\n at: '11:00:00'\n condition:\n condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n action:\n - service: button.press\n entity_id: button.mercury_start\n - service: notify.telegram\n data_template:\n title: '*Mercury · Powering on*'\n message: 11:00 · Powering Mercury on (guest mode enabled)", "config": [ { "name": "guest mode", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.guest_mode", "device_id": null } }, { "name": "mercury start button", "room": null, "type": "button", "id": { "entity_id": "button.mercury_start", "device_id": null } } ] }, { "id": "Mercury · Power off at 10pm when guest mode enabled", "automation": "- alias: Mercury · Power off at 10pm when guest mode enabled\n trigger:\n - platform: time\n at: '22:00:00'\n condition:\n condition: state\n entity_id: input_boolean.guest_mode\n state: 'on'\n action:\n - service: button.press\n entity_id: button.mercury_shutdown\n - service: notify.telegram\n data_template:\n title: '*Mercury · Powering off*'\n message: 22:00 · Powering Mercury off (guest mode enabled)", "config": [ { "name": "guest mode", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.guest_mode", "device_id": null } }, { "name": "mercury shutdown button", "room": null, "type": "button", "id": { "entity_id": "button.mercury_shutdown", "device_id": null } } ] }, { "id": "Movie mode · Change", "automation": "- alias: Movie mode · Change\n trigger:\n platform: state\n entity_id: input_boolean.movie_mode\n action:\n choose:\n - conditions: '{{ trigger.to_state.state == ''on'' }}'\n sequence:\n - service: automation.turn_off\n entity_id:\n - automation.lighting_hallway_motion_on\n - automation.lighting_hallway_motion_off\n - service: automation.turn_on\n entity_id:\n - automation.tv_plex_setup_house_for_plex\n - automation.tv_plex_restore_house_after_plex\n - service: script.plex_before_start\n - conditions: '{{ trigger.to_state.state == ''off'' }}'\n sequence:\n - service: scene.turn_on\n entity_id: scene.plex_before_start\n - service: automation.turn_off\n entity_id:\n - automation.tv_plex_setup_house_for_plex\n - automation.tv_plex_restore_house_after_plex\n - service: automation.turn_on\n entity_id:\n - automation.lighting_hallway_motion_on\n - automation.lighting_hallway_motion_off", "config": [ { "name": "movie mode", "room": "living_room", "type": "input_boolean", "id": { "entity_id": "input_boolean.movie_mode", "device_id": null } }, { "name": "plex before start scene", "room": "living_room", "type": "scene", "id": { "entity_id": "scene.plex_before_start", "device_id": null } }, { "name": "Hallway Motion Off", "room": "Hallway", "type": "automation", "id": { "entity_id": "automation.lighting_hallway_motion_off", "device_id": null } }, { "name": "Hallway Motion On", "room": "Hallway", "type": "automation", "id": { "entity_id": "automation.lighting_hallway_motion_on", "device_id": null } }, { "name": "TV Plex Restore House After Plex", "room": "Living Room", "type": "automation", "id": { "entity_id": "automation.tv_plex_restore_house_after_plex", "device_id": null } }, { "name": "TV Plex Setup House For Plex", "room": "Living Room", "type": "automation", "id": { "entity_id": "automation.tv_plex_setup_house_for_plex", "device_id": null } }, { "name": "Plex Before Start", "room": "Living Room", "type": "script", "id": { "entity_id": "script.plex_before_start", "device_id": null } } ] }, { "id": "Lighting · Sync Tasmota states on start-up", "automation": "- alias: Lighting · Sync Tasmota states on start-up\n initial_state: true\n trigger:\n platform: homeassistant\n event: start\n action:\n - service: mqtt.publish\n data:\n topic: cmnd/tasmotas/STATE\n payload: ''", "config": [] }, { "id": "Notification · Phone battery low", "automation": "- alias: Notification · Phone battery low\n trigger:\n platform: template\n value_template: '{{ states(''sensor.titanium_battery_level'') | int < 10 }}'\n condition:\n condition: state\n entity_id: sensor.titanium_battery_state\n state: Not Charging\n action:\n - service: script.say\n data_template:\n title: ❕*Notification Module*\n message: \"\\n{{\\n [\\n \\\"Hey, just wanted to let you know your phone needs\\\n \\ charging\\\",\\n \\\"Hey, your phone is running low on battery, put it on\\\n \\ the charger\\\"\\n ] | random\\n}}\"\n - service: notify.telegram\n data_template:\n title: ⚠️ *Notification module · Low Battery\n message: \"\\n{{\\n [\\n \\\"Hey, just wanted to let you know your phone needs\\\n \\ charging\\\",\\n \\\"Hey, your phone is running low on battery, put it on\\\n \\ the charger\\\"\\n ] | random\\n}}\"", "config": [ { "name": "titanium battery level", "room": null, "type": "sensor", "id": { "entity_id": "sensor.titanium_battery_level", "device_id": null } }, { "name": "titanium battery state", "room": null, "type": "sensor", "id": { "entity_id": "sensor.titanium_battery_state", "device_id": null } }, { "name": "Say", "room": null, "type": "script", "id": { "entity_id": "script.say", "device_id": null } } ] }, { "id": "Notification · Door opened", "automation": "- alias: Notification · Door opened\n trigger:\n platform: state\n entity_id: binary_sensor.front_door_contact\n to: 'on'\n for:\n minutes: 2\n action:\n - service: script.say\n data_template:\n title: ⚠️ *Notification Module · Front Door*\n message: \"\\n{{\\n [\\n \\\"Hey, the front door is opened. Are you home?\\\",\\n\\\n \\ \\\"Hey, the front door has been opened for 2 minutes\\\"\\n ] | random\\n\\\n }}\"", "config": [ { "name": "front door contact", "room": "entrance", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_contact", "device_id": null } }, { "name": "Say", "room": null, "type": "script", "id": { "entity_id": "script.say", "device_id": null } } ] }, { "id": "TV · Plex · Setup house for Plex", "automation": "- alias: TV · Plex · Setup house for Plex\n trigger:\n - platform: state\n entity_id:\n - media_player.plex_shield_chromecast\n - media_player.plex_shield\n - media_player.plex_lg\n to: playing\n action:\n - service: script.plex_before_start", "config": [ { "name": "plex shield chromecast", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.plex_shield_chromecast", "device_id": null } }, { "name": "plex shield", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.plex_shield", "device_id": null } }, { "name": "plex lg", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.plex_lg", "device_id": null } }, { "name": "Plex Before Start", "room": "Living Room", "type": "script", "id": { "entity_id": "script.plex_before_start", "device_id": null } } ] }, { "id": "TV · Plex · Restore house after Plex", "automation": "- alias: TV · Plex · Restore house after Plex\n trigger:\n - platform: state\n entity_id:\n - media_player.plex_shield_chromecast\n - media_player.plex_shield\n - media_player.plex_lg\n from: playing\n action:\n - service: scene.turn_on\n entity_id: scene.plex_before_start", "config": [ { "name": "plex before start scene", "room": "living_room", "type": "scene", "id": { "entity_id": "scene.plex_before_start", "device_id": null } }, { "name": "plex shield chromecast", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.plex_shield_chromecast", "device_id": null } }, { "name": "plex shield", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.plex_shield", "device_id": null } }, { "name": "plex lg", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.plex_lg", "device_id": null } } ] }, { "id": "Preferences · Milena · Enable", "automation": "- alias: Preferences · Milena · Enable\n trigger:\n - platform: state\n entity_id: device_tracker.iphone_de_yovcheva\n from: not_home\n to: home\n action:\n - service: automation.turn_off\n entity_id:\n - automation.lighting_kitchen_temperature_main_adjust_on_start\n - automation.lighting_kitchen_temperature_secondary_adjust_on_start\n - automation.lighting_kitchen_temperature_main_sunset\n - automation.lighting_kitchen_temperature_secondary_sunset\n - automation.lighting_kitchen_temperature_main_night\n - automation.lighting_kitchen_temperature_secondary_night\n - service: automation.turn_on\n entity_id:\n - automation.preferences_milena_kitchen_temperature_main_adjust_on_start\n - service: input_number.set_value\n entity_id: input_number.guest_bedroom_light_temp\n data:\n value: 154", "config": [ { "name": "device tracker iphone de yovcheva", "room": null, "type": "device_tracker", "id": { "entity_id": "device_tracker.iphone_de_yovcheva", "device_id": null } }, { "name": "guest bedroom light temp", "room": "guest_bedroom", "type": "input_number", "id": { "entity_id": "input_number.guest_bedroom_light_temp", "device_id": null } }, { "name": "Kitchen Temperature Main Adjust On Start", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_main_adjust_on_start", "device_id": null } }, { "name": "Kitchen Temperature Main Night", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_main_night", "device_id": null } }, { "name": "Kitchen Temperature Main Sunset", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_main_sunset", "device_id": null } }, { "name": "Kitchen Temperature Secondary Adjust On Start", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_secondary_adjust_on_start", "device_id": null } }, { "name": "Kitchen Temperature Secondary Night", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_secondary_night", "device_id": null } }, { "name": "Kitchen Temperature Secondary Sunset", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_secondary_sunset", "device_id": null } }, { "name": "Preferences Milena Kitchen Temperature Main Adjust On Start", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.preferences_milena_kitchen_temperature_main_adjust_on_start", "device_id": null } } ] }, { "id": "Preferences · Milena · Disable", "automation": "- alias: Preferences · Milena · Disable\n trigger:\n - platform: state\n entity_id: device_tracker.iphone_de_yovcheva\n from: home\n to: not_home\n action:\n - service: automation.turn_on\n entity_id:\n - automation.lighting_kitchen_temperature_main_adjust_on_start\n - automation.lighting_kitchen_temperature_secondary_adjust_on_start\n - automation.lighting_kitchen_temperature_main_sunset\n - automation.lighting_kitchen_temperature_secondary_sunset\n - automation.lighting_kitchen_temperature_main_night\n - automation.lighting_kitchen_temperature_secondary_night\n - service: automation.turn_off\n entity_id:\n - automation.preferences_milena_kitchen_temperature_main_adjust_on_start\n - service: input_number.set_value\n entity_id: input_number.guest_bedroom_light_temp\n data:\n value: 500", "config": [ { "name": "device tracker iphone de yovcheva", "room": null, "type": "device_tracker", "id": { "entity_id": "device_tracker.iphone_de_yovcheva", "device_id": null } }, { "name": "guest bedroom light temp", "room": "guest_bedroom", "type": "input_number", "id": { "entity_id": "input_number.guest_bedroom_light_temp", "device_id": null } }, { "name": "Kitchen Temperature Main Adjust On Start", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_main_adjust_on_start", "device_id": null } }, { "name": "Kitchen Temperature Main Night", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_main_night", "device_id": null } }, { "name": "Kitchen Temperature Main Sunset", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_main_sunset", "device_id": null } }, { "name": "Kitchen Temperature Secondary Adjust On Start", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_secondary_adjust_on_start", "device_id": null } }, { "name": "Kitchen Temperature Secondary Night", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_secondary_night", "device_id": null } }, { "name": "Kitchen Temperature Secondary Sunset", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.lighting_kitchen_temperature_secondary_sunset", "device_id": null } }, { "name": "Preferences Milena Kitchen Temperature Main Adjust On Start", "room": "Kitchen", "type": "automation", "id": { "entity_id": "automation.preferences_milena_kitchen_temperature_main_adjust_on_start", "device_id": null } } ] }, { "id": "Preferences · Milena · Kitchen · Temperature · Main · Adjust on start", "automation": "- alias: Preferences · Milena · Kitchen · Temperature · Main · Adjust on start\n use_blueprint:\n path: light_on_set_temperature.yaml\n input:\n light: light.kitchen\n day_temp: 153\n evening_temp: 153\n night_temp: 153", "config": [ { "name": "kitchen light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen", "device_id": null } } ] }, { "id": "Presence · Georgi Arrival detection", "automation": "- alias: Presence · Georgi Arrival detection\n use_blueprint:\n path: arrival_detection.yaml\n input:\n person: person.georgi\n name: Georgi\n input_boolean: input_boolean.georgi_home", "config": [ { "name": "person georgi", "room": null, "type": "person", "id": { "entity_id": "person.georgi", "device_id": null } }, { "name": "georgi home", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.georgi_home", "device_id": null } } ] }, { "id": "Presence · Player 2 Arrival detection", "automation": "- alias: Presence · Player 2 Arrival detection\n use_blueprint:\n path: arrival_detection.yaml\n input:\n person: person.maya\n name: Maya\n input_boolean: input_boolean.player_2_home", "config": [ { "name": "person maya", "room": null, "type": "person", "id": { "entity_id": "person.maya", "device_id": null } }, { "name": "player 2 home", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.player_2_home", "device_id": null } } ] }, { "id": "Presence · Player 2 Arrival best effort", "automation": "- alias: Presence · Player 2 Arrival best effort\n trigger:\n - platform: state\n entity_id: person.maya\n from: not_home\n to: home\n for: 00:10:00\n action:\n - service: input_boolean.turn_on\n entity_id: input_boolean.player_2_home", "config": [ { "name": "person maya", "room": null, "type": "person", "id": { "entity_id": "person.maya", "device_id": null } }, { "name": "player 2 home", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.player_2_home", "device_id": null } } ] }, { "id": "Presence · Georgi leaving", "automation": "- alias: Presence · Georgi leaving\n trigger:\n - platform: state\n entity_id: person.georgi\n from: home\n to: not_home\n for: 00:01:00\n action:\n - service: input_boolean.turn_off\n entity_id: input_boolean.georgi_home\n - service: notify.telegram\n data:\n title: 🏠 *Presence Module · Leaving Home*\n message: I notice Georgi has left. Marking as away.", "config": [ { "name": "person georgi", "room": null, "type": "person", "id": { "entity_id": "person.georgi", "device_id": null } }, { "name": "georgi home", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.georgi_home", "device_id": null } } ] }, { "id": "Presence · Player 2 leaving", "automation": "- alias: Presence · Player 2 leaving\n trigger:\n - platform: state\n entity_id: person.maya\n from: home\n to: not_home\n for: 00:01:00\n action:\n - service: input_boolean.turn_off\n entity_id: input_boolean.player_2_home\n - service: notify.telegram\n data:\n title: 🏠 *Presence Module · Leaving Home*\n message: I notice Maya has left. Marking as away.", "config": [ { "name": "person maya", "room": null, "type": "person", "id": { "entity_id": "person.maya", "device_id": null } }, { "name": "player 2 home", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.player_2_home", "device_id": null } } ] }, { "id": "Presence · Leaving home", "automation": "- alias: Presence · Leaving home\n trigger:\n - platform: state\n entity_id: binary_sensor.someone_home\n to: 'off'\n action:\n - service: script.routine_leaving_home", "config": [ { "name": "someone home", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.someone_home", "device_id": null } }, { "name": "Routine Leaving Home", "room": null, "type": "script", "id": { "entity_id": "script.routine_leaving_home", "device_id": null } } ] }, { "id": "Presence · Coming home", "automation": "- alias: Presence · Coming home\n trigger:\n platform: state\n entity_id: binary_sensor.someone_home\n to: 'on'\n action:\n - service: script.routine_coming_home", "config": [ { "name": "someone home", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.someone_home", "device_id": null } }, { "name": "Routine Coming Home", "room": null, "type": "script", "id": { "entity_id": "script.routine_coming_home", "device_id": null } } ] }, { "id": "Purifier · On start · Sync and update state", "automation": "- alias: Purifier · On start · Sync and update state\n trigger:\n platform: state\n entity_id: fan.philips_airpurifier\n to: 'on'\n action:\n - service: input_select.select_option\n entity_id: input_select.purifier_target_humidity\n data_template:\n option: '{{ states(''sensor.purifier_target_humidity'') }}'\n - service: input_select.select_option\n entity_id: input_select.purifier_speed\n data_template:\n option: '{{ states(''sensor.purifier_speed'') }}'\n - condition: state\n entity_id: binary_sensor.purifier_out_of_water\n state: 'on'\n - service: philips_airpurifier_http.set_function\n entity_id: fan.philips_airpurifier\n data:\n function: Purification", "config": [ { "name": "philips airpurifier", "room": "bedroom", "type": "fan", "id": { "entity_id": "fan.philips_airpurifier", "device_id": null } }, { "name": "purifier speed", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.purifier_speed", "device_id": null } }, { "name": "purifier target humidity", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.purifier_target_humidity", "device_id": null } }, { "name": "purifier target humidity sensor", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.purifier_target_humidity", "device_id": null } }, { "name": "purifier speed sensor", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.purifier_speed", "device_id": null } }, { "name": "purifier out of water", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.purifier_out_of_water", "device_id": null } } ] }, { "id": "Purifier · Change preset mode", "automation": "- alias: Purifier · Change preset mode\n trigger:\n platform: state\n entity_id: input_select.purifier_preset_mode\n action:\n - service: fan.set_preset_mode\n entity_id: fan.philips_airpurifier\n data_template:\n preset_mode: '{{ states(''input_select.purifier_preset_mode'') }}'", "config": [ { "name": "philips airpurifier", "room": "bedroom", "type": "fan", "id": { "entity_id": "fan.philips_airpurifier", "device_id": null } }, { "name": "purifier preset mode", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.purifier_preset_mode", "device_id": null } } ] }, { "id": "Purifier · Sync preset mode", "automation": "- alias: Purifier · Sync preset mode\n trigger:\n platform: state\n entity_id: sensor.purifier_preset_mode\n action:\n - service: input_select.select_option\n entity_id: input_select.purifier_preset_mode\n data_template:\n option: '{{ states(''sensor.purifier_preset_mode'') }}'", "config": [ { "name": "purifier preset mode", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.purifier_preset_mode", "device_id": null } }, { "name": "purifier preset mode sensor", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.purifier_preset_mode", "device_id": null } } ] }, { "id": "Purifier · Change speed", "automation": "- alias: Purifier · Change speed\n trigger:\n platform: state\n entity_id: input_select.purifier_speed\n action:\n - service: fan.set_percentage\n entity_id: fan.philips_airpurifier\n data_template:\n percentage: '{{ states(''input_select.purifier_speed'') }}'", "config": [ { "name": "philips airpurifier", "room": "bedroom", "type": "fan", "id": { "entity_id": "fan.philips_airpurifier", "device_id": null } }, { "name": "purifier speed", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.purifier_speed", "device_id": null } } ] }, { "id": "Purifier · Sync speed", "automation": "- alias: Purifier · Sync speed\n trigger:\n platform: state\n entity_id: sensor.purifier_speed\n action:\n - service: input_select.select_option\n entity_id: input_select.purifier_speed\n data_template:\n option: '{{ states(''sensor.purifier_speed'') }}'", "config": [ { "name": "purifier speed", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.purifier_speed", "device_id": null } }, { "name": "purifier speed sensor", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.purifier_speed", "device_id": null } } ] }, { "id": "Purifier · Change humidity", "automation": "- alias: Purifier · Change humidity\n trigger:\n platform: state\n entity_id: input_select.purifier_target_humidity\n action:\n - service: philips_airpurifier_http.set_target_humidity\n entity_id: fan.philips_airpurifier\n data_template:\n humidity: '{{ states(''input_select.purifier_target_humidity'') | int }}'", "config": [ { "name": "philips airpurifier", "room": "bedroom", "type": "fan", "id": { "entity_id": "fan.philips_airpurifier", "device_id": null } }, { "name": "purifier target humidity", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.purifier_target_humidity", "device_id": null } } ] }, { "id": "Purifier · Sync humidity", "automation": "- alias: Purifier · Sync humidity\n trigger:\n platform: state\n entity_id: sensor.purifier_target_humidity\n action:\n - service: input_select.select_option\n entity_id: input_select.purifier_target_humidity\n data_template:\n option: '{{ states(''sensor.purifier_target_humidity'') }}'", "config": [ { "name": "purifier target humidity", "room": "bedroom", "type": "input_select", "id": { "entity_id": "input_select.purifier_target_humidity", "device_id": null } }, { "name": "purifier target humidity sensor", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.purifier_target_humidity", "device_id": null } } ] }, { "id": "Purifier · Turn on · Low humidity", "automation": "- alias: Purifier · Turn on · Low humidity\n trigger:\n platform: numeric_state\n entity_id: sensor.bedroom_weather_humidity\n below: 20\n condition:\n and:\n - condition: state\n entity_id: binary_sensor.purifier_out_of_water\n state: 'off'\n - condition: state\n entity_id: fan.philips_airpurifier\n state: 'off'\n - condition: state\n entity_id: input_boolean.someone_home\n state: 'on'\n action:\n - service: fan.turn_on\n entity_id: fan.philips_airpurifier\n - service: philips_airpurifier_http.set_function\n entity_id: fan.philips_airpurifier\n data:\n function: Purification & Humidification\n - service: script.say\n data:\n message: Hey, I'm turning on the purifier, because humidity is low and there\n is water in the tank\n - service: logbook.log\n data:\n name: '💨 Climate module · '\n message: Purifier On · Humidity is low\n domain: fan", "config": [ { "name": "philips airpurifier", "room": "bedroom", "type": "fan", "id": { "entity_id": "fan.philips_airpurifier", "device_id": null } }, { "name": "purifier out of water", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.purifier_out_of_water", "device_id": null } }, { "name": "bedroom weather humidity", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.bedroom_weather_humidity", "device_id": null } }, { "name": "Someone Home", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.someone_home", "device_id": null } }, { "name": "Say", "room": null, "type": "script", "id": { "entity_id": "script.say", "device_id": null } } ] }, { "id": "Purifier · Turn on · Low air quality", "automation": "- alias: Purifier · Turn on · Low air quality\n trigger:\n platform: numeric_state\n entity_id: sensor.purifier_air_quality\n above: 30\n condition:\n and:\n - condition: state\n entity_id: input_boolean.someone_home\n state: 'on'\n - condition: state\n entity_id: fan.philips_airpurifier\n state: 'off'\n action:\n - service: fan.turn_on\n entity_id: fan.philips_airpurifier\n - service: input_boolean.turn_on\n entity_id: input_boolean.purifier_turned_on_for_bad_air\n - service: script.say\n data:\n message: Hey, I'm turning on the purifier, because air quality is low\n - service: logbook.log\n data:\n name: '💨 Climate Module · '\n message: Purifier On · Air quality is low\n domain: fan\n - condition: state\n entity_id: binary_sensor.purifier_out_of_water\n state: 'off'\n - service: philips_airpurifier_http.set_function\n entity_id: fan.philips_airpurifier\n data:\n function: Purification & Humidification\n - service: script.say\n data:\n message: Also, switching to humidification, because there is water in the tank\n - service: logbook.log\n data:\n name: '💨 Climate Module · '\n message: Purifier Function · Switching to humidification - there is water in\n the tank\n domain: fan", "config": [ { "name": "philips airpurifier", "room": "bedroom", "type": "fan", "id": { "entity_id": "fan.philips_airpurifier", "device_id": null } }, { "name": "purifier turned on for bad air", "room": "bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.purifier_turned_on_for_bad_air", "device_id": null } }, { "name": "purifier out of water", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.purifier_out_of_water", "device_id": null } }, { "name": "purifier air quality", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.purifier_air_quality", "device_id": null } }, { "name": "Someone Home", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.someone_home", "device_id": null } }, { "name": "Say", "room": null, "type": "script", "id": { "entity_id": "script.say", "device_id": null } } ] }, { "id": "Purifier · Turn off · Okay humidity", "automation": "- alias: Purifier · Turn off · Okay humidity\n trigger:\n platform: numeric_state\n entity_id: sensor.bedroom_weather_humidity\n above: 55\n condition:\n and:\n - condition: state\n entity_id: fan.philips_airpurifier\n state: 'on'\n - condition: state\n entity_id: sensor.purifier_function\n state: Purification & Humidification\n - condition: numeric_state\n entity_id: sensor.purifier_air_quality\n below: 30\n action:\n - service: fan.turn_off\n entity_id: fan.philips_airpurifier\n - service: script.say\n data:\n message: Hey, I'm turning the purifier off, because humidity is okay\n - service: logbook.log\n data:\n name: '💨 Climate Module · '\n message: Purifier Off · Humidity is okay\n domain: fan", "config": [ { "name": "philips airpurifier", "room": "bedroom", "type": "fan", "id": { "entity_id": "fan.philips_airpurifier", "device_id": null } }, { "name": "bedroom weather humidity", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.bedroom_weather_humidity", "device_id": null } }, { "name": "purifier air quality", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.purifier_air_quality", "device_id": null } }, { "name": "purifier function", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.purifier_function", "device_id": null } }, { "name": "Say", "room": null, "type": "script", "id": { "entity_id": "script.say", "device_id": null } } ] }, { "id": "Purifier · Turn off · Air quality returned to normal", "automation": "- alias: Purifier · Turn off · Air quality returned to normal\n trigger:\n platform: numeric_state\n entity_id: sensor.purifier_air_quality\n below: 20\n condition:\n and:\n - condition: state\n entity_id: fan.philips_airpurifier\n state: 'on'\n - condition: state\n entity_id: input_boolean.purifier_turned_on_for_bad_air\n state: 'on'\n - condition: state\n entity_id: group.bedroom_windows\n state: 'off'\n action:\n - service: fan.turn_off\n entity_id: fan.philips_airpurifier\n - service: input_boolean.turn_off\n entity_id: input_boolean.purifier_turned_on_for_bad_air\n - service: logbook.log\n data:\n name: '💨 Climate Module · '\n message: Purifier Off · Air quality returned to normal\n domain: fan", "config": [ { "name": "bedroom windows group", "room": "bedroom", "type": "group", "id": { "entity_id": "group.bedroom_windows", "device_id": null } }, { "name": "philips airpurifier", "room": "bedroom", "type": "fan", "id": { "entity_id": "fan.philips_airpurifier", "device_id": null } }, { "name": "purifier turned on for bad air", "room": "bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.purifier_turned_on_for_bad_air", "device_id": null } }, { "name": "purifier air quality", "room": "bedroom", "type": "sensor", "id": { "entity_id": "sensor.purifier_air_quality", "device_id": null } } ] }, { "id": "Climate · Heating · Adjust temperature based on time", "automation": "- alias: Climate · Heating · Adjust temperature based on time\n trigger:\n - platform: time\n at: 05:00:00\n id: '5'\n - platform: time\n at: '11:00:00'\n id: '11'\n - platform: time\n at: '16:00:00'\n id: '16'\n - platform: time\n at: '22:00:00'\n id: '22'\n action:\n - service: input_number.set_value\n entity_id: input_number.radiators_temperature\n data:\n value: \"{% if trigger.id == '5' %}\\n 25\\n{% elif trigger.id == '11' %}\\n 23\\n\\\n {% elif trigger.id == '16' %}\\n 22\\n{% endif %}\"\n - service: input_number.set_value\n entity_id: input_number.living_room_radiator_temperature\n data:\n value: \"{% if trigger.id == '5' %}\\n 25\\n{% elif trigger.id == '11' %}\\n 25\\n\\\n {% elif trigger.id == '16' %}\\n 25\\n{% endif %}\"\n - service: input_number.set_value\n entity_id: input_number.bedroom_radiator_temperature\n data:\n value: \"{% if trigger.id == '5' %}\\n 25\\n{% elif trigger.id == '11' %}\\n 23\\n\\\n {% elif trigger.id == '16' %}\\n 22\\n{% elif trigger.id == '22' %}\\n 20\\n\\\n {% endif %}\"\n - service: input_number.set_value\n entity_id: input_number.kitchen_radiator_temperature\n data:\n value: \"{% if trigger.id == '5' %}\\n 25\\n{% elif trigger.id == '11' %}\\n 22\\n\\\n {% elif trigger.id == '16' %}\\n 20\\n{% endif %}\"\n - service: script.turn_on_all_radiators", "config": [ { "name": "radiators temperature", "room": null, "type": "input_number", "id": { "entity_id": "input_number.radiators_temperature", "device_id": null } }, { "name": "living room radiator temperature", "room": "living_room", "type": "input_number", "id": { "entity_id": "input_number.living_room_radiator_temperature", "device_id": null } }, { "name": "bedroom radiator temperature", "room": "bedroom", "type": "input_number", "id": { "entity_id": "input_number.bedroom_radiator_temperature", "device_id": null } }, { "name": "kitchen radiator temperature", "room": "kitchen", "type": "input_number", "id": { "entity_id": "input_number.kitchen_radiator_temperature", "device_id": null } }, { "name": "Turn On All Radiators", "room": null, "type": "script", "id": { "entity_id": "script.turn_on_all_radiators", "device_id": null } } ] }, { "id": "Climate · Heating · Link living room radiator to windows", "automation": "- alias: Climate · Heating · Link living room radiator to windows\n trigger:\n - platform: state\n entity_id: binary_sensor.living_room_right_window_contact\n action:\n - choose:\n - conditions:\n - condition: state\n entity_id: binary_sensor.living_room_right_window_contact\n state: 'on'\n - condition: not\n conditions:\n - condition: state\n entity_id: climate.living_room_valve\n state: 'off'\n sequence:\n - service: climate.turn_off\n entity_id: climate.living_room_valve\n - conditions:\n - condition: state\n entity_id: binary_sensor.living_room_right_window_contact\n state: 'off'\n - condition: state\n entity_id: climate.living_room_valve\n state: 'off'\n sequence:\n - service: script.maybe_turn_radiator_on\n data:\n entity_id: climate.living_room_valve", "config": [ { "name": "living room right window contact", "room": "living_room", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.living_room_right_window_contact", "device_id": null } }, { "name": "living room valve climate", "room": "living_room", "type": "climate", "id": { "entity_id": "climate.living_room_valve", "device_id": null } }, { "name": "Maybe Turn Radiator On", "room": null, "type": "script", "id": { "entity_id": "script.maybe_turn_radiator_on", "device_id": null } } ] }, { "id": "Lighting · Turn on ceiling lights after sunset", "automation": "- alias: Lighting · Turn on ceiling lights after sunset\n trigger:\n platform: sun\n event: sunset\n offset: -00:30:00\n condition:\n - condition: state\n entity_id: binary_sensor.someone_home\n state: 'on'\n action:\n - service: light.turn_on\n entity_id: light.on_after_dark\n data:\n brightness_pct: 100\n - service: logbook.log\n data:\n name: '💡 Lighting Module · '\n message: Lights On · 30 mins to sunset\n domain: light", "config": [ { "name": "someone home", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.someone_home", "device_id": null } }, { "name": "on after dark light group", "room": null, "type": "light", "id": { "entity_id": "light.on_after_dark", "device_id": null } } ] }, { "id": "Lighting · Turn off all lights after sunrise", "automation": "- alias: Lighting · Turn off all lights after sunrise\n trigger:\n platform: sun\n event: sunrise\n offset: +00:00:00\n action:\n - service: script.turn_off_all_lights", "config": [ { "name": "Turn Off All Lights", "room": null, "type": "script", "id": { "entity_id": "script.turn_off_all_lights", "device_id": null } } ] }, { "id": "Security · Door opened while in night mode", "automation": "- alias: Security · Door opened while in night mode\n trigger:\n - platform: state\n entity_id: binary_sensor.front_door_contact\n to: 'on'\n condition:\n condition: state\n entity_id: sensor.house_mode\n state: night\n action:\n - service: script.turn_on_all_lights\n - service: script.sonos_say\n data:\n message: 'Caution: Front door opened during night mode!'\n - service: notify.telegram\n data:\n title: 🛡 *Security Module · Front Door Detection*\n message: 'Caution: Front door opened during night mode!'", "config": [ { "name": "front door contact", "room": "entrance", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_contact", "device_id": null } }, { "name": "house mode", "room": null, "type": "sensor", "id": { "entity_id": "sensor.house_mode", "device_id": null } }, { "name": "Sonos Say", "room": null, "type": "script", "id": { "entity_id": "script.sonos_say", "device_id": null } }, { "name": "Turn On All Lights", "room": null, "type": "script", "id": { "entity_id": "script.turn_on_all_lights", "device_id": null } } ] }, { "id": "Security · Door opened while away", "automation": "- alias: Security · Door opened while away\n trigger:\n - platform: state\n entity_id: binary_sensor.front_door_contact\n to: 'on'\n condition:\n and:\n - condition: state\n entity_id: binary_sensor.someone_home\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n action:\n - service: notify.telegram\n data:\n title: 🛡 *Security Module · Front Door*\n message: It seems like the front door was opened while you are away! Check the\n camera!", "config": [ { "name": "front door contact", "room": "entrance", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.front_door_contact", "device_id": null } }, { "name": "guest mode", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.guest_mode", "device_id": null } }, { "name": "someone home", "room": null, "type": "binary_sensor", "id": { "entity_id": "binary_sensor.someone_home", "device_id": null } } ] }, { "id": "Simulation mode · Enable", "automation": "- alias: Simulation mode · Enable\n trigger:\n platform: state\n entity_id: input_boolean.simulation_mode\n to: 'on'\n action:\n - service: script.say\n data:\n message: Simulation mode - on\n - service: homeassistant.turn_on\n entity_id: group.simulation_automations", "config": [ { "name": "simulation mode", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.simulation_mode", "device_id": null } }, { "name": "Simulation Automations", "room": null, "type": "group", "id": { "entity_id": "group.simulation_automations", "device_id": null } }, { "name": "Say", "room": null, "type": "script", "id": { "entity_id": "script.say", "device_id": null } } ] }, { "id": "Simulation mode · Disable", "automation": "- alias: Simulation mode · Disable\n trigger:\n platform: state\n entity_id: input_boolean.simulation_mode\n to: 'off'\n action:\n - service: script.say\n data:\n message: Simulation mode - off\n - service: homeassistant.turn_off\n entity_id: group.simulation_automations", "config": [ { "name": "simulation mode", "room": null, "type": "input_boolean", "id": { "entity_id": "input_boolean.simulation_mode", "device_id": null } }, { "name": "Simulation Automations", "room": null, "type": "group", "id": { "entity_id": "group.simulation_automations", "device_id": null } }, { "name": "Say", "room": null, "type": "script", "id": { "entity_id": "script.say", "device_id": null } } ] }, { "id": "Simulation mode · 0300", "automation": "- alias: Simulation mode · 0300\n trigger:\n platform: time\n at: 03:00:00\n action:\n - service: script.turn_off_all_lights\n - service: media_player.media_stop\n entity_id:\n - media_player.master_bedroom\n - media_player.bathroom\n - media_player.kitchen\n - media_player.living_room", "config": [ { "name": "master bedroom media player", "room": "bedroom", "type": "media_player", "id": { "entity_id": "media_player.master_bedroom", "device_id": null } }, { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } }, { "name": "Bathroom", "room": "Bathroom", "type": "media_player", "id": { "entity_id": "media_player.bathroom", "device_id": null } }, { "name": "Kitchen", "room": "Kitchen", "type": "media_player", "id": { "entity_id": "media_player.kitchen", "device_id": null } }, { "name": "Turn Off All Lights", "room": null, "type": "script", "id": { "entity_id": "script.turn_off_all_lights", "device_id": null } } ] }, { "id": "Simulation mode · 1100", "automation": "- alias: Simulation mode · 1100\n trigger:\n platform: time\n at: '11:00:00'\n action:\n - service: script.music_play", "config": [ { "name": "Music Play", "room": null, "type": "script", "id": { "entity_id": "script.music_play", "device_id": null } } ] }, { "id": "Simulation mode · 1400", "automation": "- alias: Simulation mode · 1400\n trigger:\n platform: time\n at: '14:00:00'\n action:\n - service: media_player.media_stop\n entity_id:\n - media_player.master_bedroom\n - media_player.bathroom\n - media_player.kitchen\n - media_player.living_room", "config": [ { "name": "master bedroom media player", "room": "bedroom", "type": "media_player", "id": { "entity_id": "media_player.master_bedroom", "device_id": null } }, { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } }, { "name": "Bathroom", "room": "Bathroom", "type": "media_player", "id": { "entity_id": "media_player.bathroom", "device_id": null } }, { "name": "Kitchen", "room": "Kitchen", "type": "media_player", "id": { "entity_id": "media_player.kitchen", "device_id": null } } ] }, { "id": "Simulation mode · 1700", "automation": "- alias: Simulation mode · 1700\n trigger:\n platform: time\n at: '17:00:00'\n action:\n - service: script.turn_on_all_lights\n - service: script.music_play", "config": [ { "name": "Music Play", "room": null, "type": "script", "id": { "entity_id": "script.music_play", "device_id": null } }, { "name": "Turn On All Lights", "room": null, "type": "script", "id": { "entity_id": "script.turn_on_all_lights", "device_id": null } } ] }, { "id": "Simulation mode · 2200", "automation": "- alias: Simulation mode · 2200\n trigger:\n platform: time\n at: '22:00:00'\n action:\n - service: media_player.media_stop\n entity_id:\n - media_player.master_bedroom\n - media_player.bathroom\n - media_player.kitchen\n - media_player.living_room", "config": [ { "name": "master bedroom media player", "room": "bedroom", "type": "media_player", "id": { "entity_id": "media_player.master_bedroom", "device_id": null } }, { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } }, { "name": "Bathroom", "room": "Bathroom", "type": "media_player", "id": { "entity_id": "media_player.bathroom", "device_id": null } }, { "name": "Kitchen", "room": "Kitchen", "type": "media_player", "id": { "entity_id": "media_player.kitchen", "device_id": null } } ] }, { "id": "Sofia Traffic - Bus Departure", "automation": "- alias: Sofia Traffic - Bus Departure\n triggers:\n trigger: time_pattern\n seconds: /10\n action:\n action: homeassistant.update_entity\n target:\n entity_id:\n - sensor.sofia_traffic_subway_m1\n - sensor.sofia_traffic_subway_m4\n - sensor.sofia_traffic_bus_1\n - sensor.sofia_traffic_bus_5\n - sensor.sofia_traffic_bus_6", "config": [ { "name": "sofia traffic subway m1", "room": null, "type": "sensor", "id": { "entity_id": "sensor.sofia_traffic_subway_m1", "device_id": null } }, { "name": "sofia traffic subway m4", "room": null, "type": "sensor", "id": { "entity_id": "sensor.sofia_traffic_subway_m4", "device_id": null } }, { "name": "sofia traffic bus 1", "room": null, "type": "sensor", "id": { "entity_id": "sensor.sofia_traffic_bus_1", "device_id": null } }, { "name": "sofia traffic bus 5", "room": null, "type": "sensor", "id": { "entity_id": "sensor.sofia_traffic_bus_5", "device_id": null } }, { "name": "sofia traffic bus 6", "room": null, "type": "sensor", "id": { "entity_id": "sensor.sofia_traffic_bus_6", "device_id": null } } ] }, { "id": "Media · Sonos · Put Beam in night mode", "automation": "- alias: Media · Sonos · Put Beam in night mode\n trigger:\n platform: time\n at: '22:00:00'\n action:\n - action: switch.turn_on\n entity_id: switch.sonos_living_room_night_sound\n - action: logbook.log\n data:\n name: 🔊 Media Module · \n message: Sonos Mode · Putting Beam in night mode\n domain: media_player", "config": [ { "name": "sonos living room night sound switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.sonos_living_room_night_sound", "device_id": null } } ] }, { "id": "Media · Sonos · Put Beam in day mode", "automation": "- alias: Media · Sonos · Put Beam in day mode\n trigger:\n platform: time\n at: 08:00:00\n action:\n - action: switch.turn_off\n entity_id: switch.sonos_living_room_night_sound\n - action: logbook.log\n data:\n name: '🔊 Media Module · '\n message: Sonos Mode · Putting Beam in day mode\n domain: media_player", "config": [ { "name": "sonos living room night sound switch", "room": "living_room", "type": "switch", "id": { "entity_id": "switch.sonos_living_room_night_sound", "device_id": null } } ] }, { "id": "Speech · Telegram · Action · Do nothing", "automation": "- alias: Speech · Telegram · Action · Do nothing\n trigger:\n platform: event\n event_type: telegram_callback\n event_data:\n command: /do_nothing\n action:\n - service: telegram_bot.delete_message\n data_template:\n message_id: '{{ trigger.event.data.message.message_id}}'\n chat_id: '{{ trigger.event.data.chat_id }}'", "config": [] }, { "id": "Lighting · Temperature · Adjust on start", "automation": "- alias: Lighting · Temperature · Adjust on start\n mode: parallel\n trigger:\n platform: state\n to: 'on'\n entity_id:\n - light.living_room_main\n - light.hue_ambiance_7\n - light.master_bedroom_main\n - light.kitchen\n action:\n - service: light.turn_on\n data_template:\n entity_id: '{{ trigger.entity_id }}'\n color_temp: '{{ states(''input_number.global_light_temp'') }}'", "config": [ { "name": "master bedroom main light", "room": "bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom_main", "device_id": null } }, { "name": "living room main light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_main", "device_id": null } }, { "name": "hue ambiance 7 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_ambiance_7", "device_id": null } }, { "name": "kitchen light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen", "device_id": null } }, { "name": "global light temp", "room": null, "type": "input_number", "id": { "entity_id": "input_number.global_light_temp", "device_id": null } }, { "name": "living room light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room", "device_id": null } }, { "name": "Master Bedroom", "room": "Master Bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } } ] }, { "id": "lighting_temperature_based_on_sun", "automation": "- alias: Lighting · Temperature · Based on sun\n id: lighting_temperature_based_on_sun\n trigger:\n - platform: sun\n event: sunrise\n id: '300'\n - platform: sun\n event: sunset\n offset: -01:00:00\n id: '380'\n - platform: sun\n event: sunset\n id: '400'\n - platform: sun\n event: sunset\n offset: +01:00:00\n id: '433'\n - platform: sun\n event: sunset\n offset: +02:00:00\n id: '466'\n - platform: sun\n event: sunset\n offset: +03:00:00\n id: '500'\n action:\n - service: input_number.set_value\n entity_id: input_number.global_light_temp\n data_template:\n value: '{{ trigger.id | int }}'", "config": [ { "name": "global light temp", "room": null, "type": "input_number", "id": { "entity_id": "input_number.global_light_temp", "device_id": null } } ] }, { "id": "lighting_temperature_change", "automation": "- alias: Lighting · Temperature · Change\n id: lighting_temperature_change\n trigger:\n platform: state\n entity_id: input_number.global_light_temp\n action:\n - service: scene.apply\n data_template:\n entities:\n light.living_room_main:\n state: '{{ states(''light.living_room_main'') }}'\n color_temp: '{{ trigger.to_state.state }}'\n light.hue_ambiance_7:\n state: '{{ states(''light.hue_ambiance_7'') }}'\n color_temp: '{{ trigger.to_state.state }}'\n light.master_bedroom_main:\n state: '{{ states(''light.master_bedroom_main'') }}'\n color_temp: '{{ trigger.to_state.state }}'\n light.kitchen_main:\n state: '{{ states(''light.kitchen_main'') }}'\n color_temp: '{{ trigger.to_state.state }}'\n light.kitchen_secondary:\n state: '{{ states(''light.kitchen_secondary'') }}'\n color_temp: '{{ trigger.to_state.state }}'", "config": [ { "name": "master bedroom main light", "room": "bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom_main", "device_id": null } }, { "name": "living room main light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_main", "device_id": null } }, { "name": "hue ambiance 7 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_ambiance_7", "device_id": null } }, { "name": "kitchen light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen", "device_id": null } }, { "name": "kitchen main light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen_main", "device_id": null } }, { "name": "kitchen secondary light", "room": "kitchen", "type": "light", "id": { "entity_id": "light.kitchen_secondary", "device_id": null } }, { "name": "global light temp", "room": null, "type": "input_number", "id": { "entity_id": "input_number.global_light_temp", "device_id": null } }, { "name": "living room light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room", "device_id": null } }, { "name": "Master Bedroom", "room": "Master Bedroom", "type": "light", "id": { "entity_id": "light.master_bedroom", "device_id": null } } ] }, { "id": "Climate · AC · Turn on if hot", "automation": "- alias: Climate · AC · Turn on if hot\n trigger:\n - platform: template\n value_template: '{{ states(''sensor.multisensor_6_temperature'')|float|default(0)\n > states(''input_number.toshiba_trigger_temp'')|float }}'\n for: 00:05:00\n - platform: state\n entity_id:\n - binary_sensor.living_room_right_window_contact\n - group.bedroom_windows\n - binary_sensor.kitchen_window_contact\n - binary_sensor.kitchen_door\n from: 'on'\n to: 'off'\n action:\n - service: script.toshiba_ac_on_cool_if_hot", "config": [ { "name": "kitchen window contact", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_window_contact", "device_id": null } }, { "name": "living room right window contact", "room": "living_room", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.living_room_right_window_contact", "device_id": null } }, { "name": "bedroom windows group", "room": "bedroom", "type": "group", "id": { "entity_id": "group.bedroom_windows", "device_id": null } }, { "name": "kitchen door", "room": "kitchen", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.kitchen_door", "device_id": null } }, { "name": "multisensor 6 temperature", "room": "living_room", "type": "sensor", "id": { "entity_id": "sensor.multisensor_6_temperature", "device_id": null } }, { "name": "toshiba trigger temp", "room": null, "type": "input_number", "id": { "entity_id": "input_number.toshiba_trigger_temp", "device_id": null } }, { "name": "Toshiba AC On Cool If Hot", "room": null, "type": "script", "id": { "entity_id": "script.toshiba_ac_on_cool_if_hot", "device_id": null } } ] }, { "id": "Climate · AC · Turn off", "automation": "- alias: Climate · AC · Turn off\n trigger:\n - platform: time\n at: 05:00:00\n - platform: numeric_state\n entity_id: sensor.multisensor_6_temperature\n below: 23\n - platform: state\n entity_id:\n - binary_sensor.living_room_right_window_contact\n - group.bedroom_windows\n from: 'off'\n to: 'on'\n for: 00:01:00\n condition:\n condition: not\n conditions:\n - condition: state\n entity_id: climate.toshiba_ac\n state: 'off'\n action:\n - service: climate.turn_off\n entity_id: climate.toshiba_ac\n - service: logbook.log\n data:\n name: '💨 Climate Module · '\n message: AC · Switching off\n domain: climate", "config": [ { "name": "living room right window contact", "room": "living_room", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.living_room_right_window_contact", "device_id": null } }, { "name": "bedroom windows group", "room": "bedroom", "type": "group", "id": { "entity_id": "group.bedroom_windows", "device_id": null } }, { "name": "multisensor 6 temperature", "room": "living_room", "type": "sensor", "id": { "entity_id": "sensor.multisensor_6_temperature", "device_id": null } }, { "name": "toshiba ac climate", "room": "living_room", "type": "climate", "id": { "entity_id": "climate.toshiba_ac", "device_id": null } } ] }, { "id": "Climate · AC · Notify conditions met", "automation": "- alias: Climate · AC · Notify conditions met\n trigger:\n platform: state\n entity_id: binary_sensor.toshiba_ac_climate_conditions_met\n from: 'off'\n to: 'on'\n action:\n - service: notify.telegram\n data:\n title: 💨 Climate Module · AC · Conditions met\n message: I would turn the AC on, but some windows or doors are open.", "config": [ { "name": "toshiba ac climate conditions met", "room": "living_room", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.toshiba_ac_climate_conditions_met", "device_id": null } } ] }, { "id": "Trust remote · Guest bedroom", "automation": "- alias: Trust remote · Guest bedroom\n trigger:\n - platform: state\n entity_id: sensor.trust_remote_action\n action:\n - choose:\n - conditions: '{{ trigger.to_state.state == ''up-press'' }}'\n sequence:\n - service: light.turn_on\n entity_id: light.tradfri_large\n data_template:\n brightness_pct: '{{ is_state(''input_select.guest_bedroom_mode'', ''day'')\n | iif(100, 10) }}'\n color_temp: '{{ states(''input_number.guest_bedroom_light_temp'') }}'\n - conditions: '{{ trigger.to_state.state == ''down-press'' }}'\n sequence:\n - service: light.turn_off\n entity_id: light.tradfri_large\n - conditions: '{{ trigger.to_state.state == ''on'' or trigger.to_state.state ==\n ''off'' }}'\n sequence:\n - service: script.guest_bedroom_bedside_confirm\n - service: input_select.select_next\n entity_id: input_select.guest_bedroom_mode", "config": [ { "name": "guest bedroom mode", "room": "guest_bedroom", "type": "input_select", "id": { "entity_id": "input_select.guest_bedroom_mode", "device_id": null } }, { "name": "tradfri large light", "room": "guest_bedroom", "type": "light", "id": { "entity_id": "light.tradfri_large", "device_id": null } }, { "name": "guest bedroom light temp", "room": "guest_bedroom", "type": "input_number", "id": { "entity_id": "input_number.guest_bedroom_light_temp", "device_id": null } }, { "name": "trust remote action", "room": "guest_bedroom", "type": "sensor", "id": { "entity_id": "sensor.trust_remote_action", "device_id": null } }, { "name": "Guest Bedroom Bedside Confirm", "room": "Guest Bedroom", "type": "script", "id": { "entity_id": "script.guest_bedroom_bedside_confirm", "device_id": null } } ] }, { "id": "Trust remote · Dimming", "automation": "- alias: Trust remote · Dimming\n trigger:\n - platform: state\n entity_id: sensor.trust_remote_action\n to: down-press\n - platform: state\n entity_id: sensor.trust_remote_action\n to: up-press\n action:\n - service: light.turn_on\n data_template:\n entity_id: \"{% set groupId = states('sensor.trust_remote_group')[4] | int %}\\\n \\ {% if groupId == 5 %}\\n {% set entityId = 'light.living_room' %}\\n{% elif\\\n \\ groupId == 0 %}\\n {% set entityId = 'light.living_room_main' %}\\n{% elif\\\n \\ groupId == 1 %}\\n {% set entityId = 'light.hue_ambiance_7' %}\\n{% elif\\\n \\ groupId == 2 %}\\n {% set entityId = 'light.living_room_ambient' %}\\n{%\\\n \\ elif groupId == 3 %}\\n {% set entityId = 'light.living_room_ambient_main'\\\n \\ %}\\n{% elif groupId == 4 %}\\n {% set entityId = 'light.light_lohas_2' %}\\n\\\n {% endif %}\\n{{ entityId }}\"\n brightness_step_pct: \"{% if trigger.to_state.state == \\\"up-press\\\" %}\\n 20\\n\\\n {% else %}\\n -20\\n{% endif %}\"", "config": [ { "name": "living room main light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_main", "device_id": null } }, { "name": "hue ambiance 7 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_ambiance_7", "device_id": null } }, { "name": "living room ambient main light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_ambient_main", "device_id": null } }, { "name": "light lohas 2", "room": "living_room", "type": "light", "id": { "entity_id": "light.light_lohas_2", "device_id": null } }, { "name": "trust remote action", "room": "guest_bedroom", "type": "sensor", "id": { "entity_id": "sensor.trust_remote_action", "device_id": null } }, { "name": "trust remote group", "room": null, "type": "sensor", "id": { "entity_id": "sensor.trust_remote_group", "device_id": null } }, { "name": "living room ambient light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_ambient", "device_id": null } }, { "name": "living room light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room", "device_id": null } } ] }, { "id": "TV · Turn on", "automation": "- alias: TV · Turn on\n trigger:\n - platform: webostv.turn_on\n entity_id: media_player.living_room_tv\n action:\n - service: wake_on_lan.send_magic_packet\n data:\n mac: 78:5D:C8:C9:DB:76", "config": [ { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } }, { "name": "living room tv", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room_tv", "device_id": null } } ] }, { "id": "TV · Join Beam to Sonos group when off", "automation": "- alias: TV · Join Beam to Sonos group when off\n trigger:\n platform: state\n entity_id: media_player.living_room_tv\n to: 'off'\n condition:\n condition: state\n entity_id: sensor.house_mode\n state: day\n action:\n - service: script.sonos_join_bedroom", "config": [ { "name": "house mode", "room": null, "type": "sensor", "id": { "entity_id": "sensor.house_mode", "device_id": null } }, { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } }, { "name": "living room tv", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room_tv", "device_id": null } }, { "name": "Sonos Join Bedroom", "room": "Master Bedroom", "type": "script", "id": { "entity_id": "script.sonos_join_bedroom", "device_id": null } } ] }, { "id": "TV · State · Turn on STBs", "automation": "- alias: TV · State · Turn on STBs\n mode: single\n trigger:\n platform: state\n entity_id: media_player.living_room_tv\n to: 'on'\n action:\n - service: media_player.turn_on\n entity_id: media_player.nvidia_shield\n - service: remote.send_command\n entity_id: remote.apple_tv\n data:\n command: wakeup", "config": [ { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } }, { "name": "living room tv", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room_tv", "device_id": null } }, { "name": "nvidia shield", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.nvidia_shield", "device_id": null } }, { "name": "apple tv remote", "room": "living_room", "type": "remote", "id": { "entity_id": "remote.apple_tv", "device_id": null } } ] }, { "id": "TV · Off · Turn off devices", "automation": "- alias: TV · Off · Turn off devices\n mode: single\n trigger:\n platform: state\n entity_id: media_player.living_room_tv\n to: 'off'\n action:\n - service: media_player.turn_off\n entity_id: media_player.nvidia_shield\n - service: remote.send_command\n entity_id: remote.apple_tv\n data:\n command: suspend", "config": [ { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } }, { "name": "living room tv", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room_tv", "device_id": null } }, { "name": "nvidia shield", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.nvidia_shield", "device_id": null } }, { "name": "apple tv remote", "room": "living_room", "type": "remote", "id": { "entity_id": "remote.apple_tv", "device_id": null } } ] }, { "id": "TV · State · Sync Apple TV state", "automation": "- alias: TV · State · Sync Apple TV state\n trigger:\n - platform: state\n entity_id: media_player.apple_tv\n to: standby\n id: 'off'\n - platform: state\n entity_id: media_player.apple_tv\n to: 'off'\n id: 'off'\n - platform: state\n entity_id: media_player.apple_tv\n from: standby\n to: paused\n id: 'on'\n - platform: state\n entity_id: media_player.apple_tv\n to: idle\n id: 'on'\n - platform: state\n entity_id: media_player.apple_tv\n from: 'off'\n to: playing\n id: 'on'\n action:\n - choose:\n - conditions: '{{ trigger.id == ''on'' and not is_state(''media_player.living_room_tv'',\n ''on'') }}'\n sequence:\n - service: script.tv_switch_to_apple_tv\n - service: remote.send_command\n entity_id: remote.apple_tv\n data:\n command: home\n num_repeats: 2\n - conditions: '{{ (trigger.id == ''off'' or trigger.id == ''standby'') and not\n is_state(''media_player.living_room_tv'', ''off'') }}'\n sequence:\n - service: media_player.turn_off\n entity_id: media_player.living_room_tv", "config": [ { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } }, { "name": "living room tv", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room_tv", "device_id": null } }, { "name": "apple tv remote", "room": "living_room", "type": "remote", "id": { "entity_id": "remote.apple_tv", "device_id": null } }, { "name": "apple tv media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.apple_tv", "device_id": null } }, { "name": "TV Switch To Apple TV", "room": "Living Room", "type": "script", "id": { "entity_id": "script.tv_switch_to_apple_tv", "device_id": null } } ] }, { "id": "TV · State · Sync Shield state", "automation": "- alias: TV · State · Sync Shield state\n trigger:\n - platform: state\n entity_id: media_player.nvidia_shield\n to: 'off'\n id: 'off'\n - platform: state\n entity_id: media_player.nvidia_shield\n from: 'off'\n to: idle\n id: 'on'\n - platform: state\n entity_id: media_player.nvidia_shield\n from: 'off'\n to: playing\n id: 'on'\n action:\n - choose:\n - conditions: '{{ trigger.id == ''on'' and not is_state(''media_player.living_room_tv'',\n ''on'') }}'\n sequence:\n - service: script.tv_switch_to_shield\n - conditions: '{{ trigger.id == ''off'' and not is_state(''media_player.living_room_tv'',\n ''off'') }}'\n sequence:\n - service: media_player.turn_off\n entity_id: media_player.living_room_tv", "config": [ { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } }, { "name": "living room tv", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room_tv", "device_id": null } }, { "name": "nvidia shield", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.nvidia_shield", "device_id": null } }, { "name": "TV Switch To Shield", "room": "Living Room", "type": "script", "id": { "entity_id": "script.tv_switch_to_shield", "device_id": null } } ] }, { "id": "TV · Prepare for casting", "automation": "- alias: TV · Prepare for casting\n trigger:\n platform: state\n entity_id: media_player.nvidia_shield\n to: playing\n condition: '{{ is_state_attr(''media_player.nvidia_shield'', ''source'', ''Google\n Cast'') }}'\n action:\n - service: script.sonos_join_tv\n - delay: 00:00:10\n - service: media_player.select_source\n entity_id: media_player.living_room_tv\n data:\n source: Shield", "config": [ { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } }, { "name": "living room tv", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room_tv", "device_id": null } }, { "name": "nvidia shield", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.nvidia_shield", "device_id": null } }, { "name": "Sonos Join TV", "room": "Living Room", "type": "script", "id": { "entity_id": "script.sonos_join_tv", "device_id": null } } ] }, { "id": "Wallmote · Living room · 1 · Tap · Toggle lights", "automation": "- alias: Wallmote · Living room · 1 · Tap · Toggle lights\n trigger:\n platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 5\n value: KeyPressed\n property: scene\n property_key: '001'\n action:\n - service: light.toggle\n entity_id: light.living_room", "config": [ { "name": "living room light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room", "device_id": null } } ] }, { "id": "Wallmote · Living room · 1 · Toggle · PC Light", "automation": "- alias: Wallmote · Living room · 1 · Toggle · PC Light\n trigger:\n platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 5\n value: KeyReleased\n property: scene\n property_key: '001'\n action:\n - service: light.toggle\n entity_id: light.hue_ambiance_7", "config": [ { "name": "hue ambiance 7 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_ambiance_7", "device_id": null } } ] }, { "id": "Wallmote · Living room · 2 · Tap · Toggle Music", "automation": "- alias: Wallmote · Living room · 2 · Tap · Toggle Music\n trigger:\n platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 5\n value: KeyPressed\n property: scene\n property_key: '002'\n action:\n - service: media_player.media_play_pause\n entity_id: media_player.living_room", "config": [ { "name": "living room media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.living_room", "device_id": null } } ] }, { "id": "Wallmote · Living room · 2 · Hold · Play music", "automation": "- alias: Wallmote · Living room · 2 · Hold · Play music\n trigger:\n platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 5\n value: KeyReleased\n property: scene\n property_key: '002'\n action:\n - service: script.music_play", "config": [ { "name": "Music Play", "room": null, "type": "script", "id": { "entity_id": "script.music_play", "device_id": null } } ] }, { "id": "Wallmote · Living room · 3 · Tap · Toggle Main lights", "automation": "- alias: Wallmote · Living room · 3 · Tap · Toggle Main lights\n trigger:\n platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 5\n value: KeyPressed\n property_key: '003'\n action:\n - service: light.toggle\n entity_id:\n - light.living_room_main\n - light.hue_ambiance_7", "config": [ { "name": "living room main light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_main", "device_id": null } }, { "name": "hue ambiance 7 light", "room": "living_room", "type": "light", "id": { "entity_id": "light.hue_ambiance_7", "device_id": null } }, { "name": "living room light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room", "device_id": null } } ] }, { "id": "Wallmote · Living room · 3 · Hold · Toggle Ambient lights", "automation": "- alias: Wallmote · Living room · 3 · Hold · Toggle Ambient lights\n trigger:\n platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 5\n value: KeyReleased\n property_key: '003'\n action:\n - service: light.toggle\n entity_id: light.living_room_ambient", "config": [ { "name": "living room ambient light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room_ambient", "device_id": null } }, { "name": "living room light", "room": "living_room", "type": "light", "id": { "entity_id": "light.living_room", "device_id": null } } ] }, { "id": "Wallmote · Living room · 4 · Tap · Toggle AC", "automation": "- alias: Wallmote · Living room · 4 · Tap · Toggle AC\n trigger:\n platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 5\n value: KeyPressed\n property_key: '004'\n action:\n - service: script.toshiba_ac_toggle", "config": [ { "name": "Toshiba AC Toggle", "room": null, "type": "script", "id": { "entity_id": "script.toshiba_ac_toggle", "device_id": null } } ] }, { "id": "Wallmote · Living room · 4 · Hold · Toggle Cover", "automation": "- alias: Wallmote · Living room · 4 · Hold · Toggle Cover\n trigger:\n platform: event\n event_type: zwave_js_value_notification\n event_data:\n node_id: 5\n value: KeyReleased\n property_key: '004'\n action:\n - service: script.toggle_living_room_cover", "config": [ { "name": "Toggle Living Room Cover", "room": "Living Room", "type": "script", "id": { "entity_id": "script.toggle_living_room_cover", "device_id": null } } ] } ]