AutomationDataset/LucasHokerberg/description-ready.json

2150 lines
83 KiB
JSON

[
{
"id": "'0101'",
"automation": "- id: '0101'\n alias: Action - Lock hallway front door\n triggers:\n trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: lock_hallway_front_door_lock\n actions:\n action: lock.lock\n target:\n entity_id: lock.hallway_front_door_lock",
"config": [
{
"name": "hallway front door lock",
"room": "hallway",
"type": "lock",
"id": {
"entity_id": "lock.hallway_front_door_lock",
"device_id": null
}
}
]
},
{
"id": "'0102'",
"automation": "- id: '0102'\n alias: Action - Unlock hallway front door\n triggers:\n trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: unlock_hallway_front_door_lock\n conditions:\n condition: state\n entity_id: alarm_control_panel.verisure_alarm\n state: disarmed\n actions:\n action: lock.unlock\n target:\n entity_id: lock.hallway_front_door_lock",
"config": [
{
"name": "hallway front door lock",
"room": "hallway",
"type": "lock",
"id": {
"entity_id": "lock.hallway_front_door_lock",
"device_id": null
}
},
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
}
]
},
{
"id": "'0103'",
"automation": "- id: '0103'\n alias: Action - Acknowledge basement water leakage\n triggers:\n trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: acknowledge_basement_water_leakage\n actions:\n action: alert.turn_off\n target:\n entity_id: alert.basement_water_leakage",
"config": [
{
"name": "basement water leakage alert",
"room": "basement",
"type": "alert",
"id": {
"entity_id": "alert.basement_water_leakage",
"device_id": null
}
}
]
},
{
"id": "'0104'",
"automation": "- id: '0104'\n alias: Action - Acknowledge kitchen water leakage\n triggers:\n trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: acknowledge_kitchen_water_leakage\n actions:\n action: alert.turn_off\n target:\n entity_id: alert.kitchen_water_leakage",
"config": [
{
"name": "kitchen water leakage alert",
"room": "kitchen",
"type": "alert",
"id": {
"entity_id": "alert.kitchen_water_leakage",
"device_id": null
}
}
]
},
{
"id": "'0105'",
"automation": "- id: '0105'\n alias: Action - FGH47K Restart charging\n triggers:\n trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: fgh47k_restart_charging\n actions:\n action: switch.turn_on\n target:\n entity_id: switch.fgh47k_charging",
"config": [
{
"name": "fgh47k charging",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.fgh47k_charging",
"device_id": null
}
}
]
},
{
"id": "'0106'",
"automation": "- id: '0106'\n alias: Action - Turn on vacation mode\n triggers:\n trigger: event\n event_type: mobile_app_notification_action\n event_data:\n action: turn_on_vacation_mode\n actions:\n action: input_boolean.turn_on\n target:\n entity_id: input_boolean.vacation_mode",
"config": [
{
"name": "vacation mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
}
]
},
{
"id": "'0201'",
"automation": "- id: '0201'\n alias: Appliance - Notify and turn off shut-off valve when dishwasher is done\n triggers:\n trigger: state\n entity_id: sensor.kitchen_dishwasher_operation_state\n from: BSH.Common.EnumType.OperationState.Run\n to: BSH.Common.EnumType.OperationState.Finished\n actions:\n - action: notify.home_mobile_apps\n data_template:\n title: HalloNET Home\n message: The dishwasher is done.\n data:\n channel: Appliance\n - action: switch.turn_off\n target:\n entity_id: switch.kitchen_dishwasher_shutoff_valve",
"config": [
{
"name": "kitchen dishwasher operation state",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_dishwasher_operation_state",
"device_id": null
}
},
{
"name": "kitchen dishwasher shutoff valve",
"room": "kitchen",
"type": "switch",
"id": {
"entity_id": "switch.kitchen_dishwasher_shutoff_valve",
"device_id": null
}
}
]
},
{
"id": "'0202'",
"automation": "- id: '0202'\n alias: Appliance - Notify on high freezer temperature\n triggers:\n trigger: numeric_state\n entity_id: sensor.kitchen_freezer_temperature\n above: -10\n for:\n minutes: 20\n actions:\n action: notify.home_mobile_apps\n data_template:\n title: HalloNET Home\n message: Freezer temperature is too high!\n data:\n channel: Appliance",
"config": [
{
"name": "kitchen freezer temperature",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_freezer_temperature",
"device_id": null
}
}
]
},
{
"id": "'0203'",
"automation": "- id: '0203'\n alias: Appliance - Notify on high fridge temperature\n triggers:\n trigger: numeric_state\n entity_id: sensor.kitchen_fridge_temperature\n above: 15\n for:\n minutes: 10\n actions:\n action: notify.home_mobile_apps\n data_template:\n title: HalloNET Home\n message: Fridge temperature is too high!\n data:\n channel: Appliance",
"config": [
{
"name": "kitchen fridge temperature",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_fridge_temperature",
"device_id": null
}
}
]
},
{
"id": "'0204'",
"automation": "- id: '0204'\n alias: Appliance - Start dishwasher\n triggers:\n trigger: state\n entity_id: switch.kitchen_dishwasher_shutoff_valve\n from: 'off'\n to: 'on'\n conditions:\n condition: state\n entity_id: sensor.kitchen_dishwasher_operation_state\n state: BSH.Common.EnumType.OperationState.Ready\n actions:\n - action: input_select.select_option\n target:\n entity_id: select.kitchen_dishwasher_program\n data:\n option: Dishcare.Dishwasher.Program.Intensiv70\n - action: button.press\n target:\n entity_id: button.kitchen_dishwasher_start",
"config": [
{
"name": "kitchen dishwasher operation state",
"room": "kitchen",
"type": "sensor",
"id": {
"entity_id": "sensor.kitchen_dishwasher_operation_state",
"device_id": null
}
},
{
"name": "kitchen dishwasher shutoff valve",
"room": "kitchen",
"type": "switch",
"id": {
"entity_id": "switch.kitchen_dishwasher_shutoff_valve",
"device_id": null
}
},
{
"name": "kitchen dishwasher program",
"room": "kitchen",
"type": "select",
"id": {
"entity_id": "select.kitchen_dishwasher_program",
"device_id": null
}
},
{
"name": "kitchen dishwasher start",
"room": "kitchen",
"type": "button",
"id": {
"entity_id": "button.kitchen_dishwasher_start",
"device_id": null
}
}
]
},
{
"id": "'0301'",
"automation": "- id: '0301'\n alias: Climate - Start heating when cold\n triggers:\n trigger: template\n value_template: '{{ states.sensor.downstairs_average_temperature.state | float\n < (states.input_number.living_room_hvac_target.state | float - 0.5 | float)\n }}'\n for:\n minutes: 30\n conditions:\n condition: state\n entity_id: climate.living_room_hvac\n state: 'off'\n actions:\n - action: climate.set_hvac_mode\n target:\n entity_id: climate.living_room_hvac\n data:\n hvac_mode: heat\n - delay:\n seconds: 5\n - action: climate.set_temperature\n target:\n entity_id: climate.living_room_hvac\n data:\n temperature: '{{ states.input_number.living_room_hvac_target.state | float -\n states.input_number.living_room_hvac_offset.state | float }}'\n - delay:\n seconds: 5\n - action: climate.set_fan_mode\n target:\n entity_id: climate.living_room_hvac\n data:\n fan_mode: low",
"config": [
{
"name": "downstairs average temperature",
"room": "downstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.downstairs_average_temperature",
"device_id": null
}
},
{
"name": "living room hvac target",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_target",
"device_id": null
}
},
{
"name": "living room hvac",
"room": "living_room",
"type": "climate",
"id": {
"entity_id": "climate.living_room_hvac",
"device_id": null
}
},
{
"name": "living room hvac offset",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_offset",
"device_id": null
}
}
]
},
{
"id": "'0302'",
"automation": "- id: '0302'\n alias: Climate - Start cooling when warm\n triggers:\n trigger: template\n value_template: '{{ states.sensor.downstairs_average_temperature.state | float\n > (states.input_number.living_room_hvac_target.state | float + 0.5 | float)\n }}'\n for:\n minutes: 30\n conditions:\n - condition: state\n entity_id: climate.living_room_hvac\n state: 'off'\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'off'\n actions:\n - action: climate.set_hvac_mode\n target:\n entity_id: climate.living_room_hvac\n data:\n hvac_mode: cool\n - delay:\n seconds: 5\n - action: climate.set_temperature\n target:\n entity_id: climate.living_room_hvac\n data:\n temperature: '{{ states.input_number.living_room_hvac_target.state | float +\n states.input_number.living_room_hvac_offset.state | float }}'\n - delay:\n seconds: 5\n - action: climate.set_fan_mode\n target:\n entity_id: climate.living_room_hvac\n data:\n fan_mode: auto",
"config": [
{
"name": "vacation mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "downstairs average temperature",
"room": "downstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.downstairs_average_temperature",
"device_id": null
}
},
{
"name": "living room hvac target",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_target",
"device_id": null
}
},
{
"name": "living room hvac",
"room": "living_room",
"type": "climate",
"id": {
"entity_id": "climate.living_room_hvac",
"device_id": null
}
},
{
"name": "living room hvac offset",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_offset",
"device_id": null
}
}
]
},
{
"id": "'0303'",
"automation": "- id: '0303'\n alias: Climate - Change temperature heat\n triggers:\n - trigger: state\n entity_id: input_number.living_room_hvac_target\n - trigger: state\n entity_id: input_number.living_room_hvac_offset\n conditions:\n condition: state\n entity_id: climate.living_room_hvac\n state: heat\n actions:\n action: climate.set_temperature\n target:\n entity_id: climate.living_room_hvac\n data:\n temperature: '{{ states.input_number.living_room_hvac_target.state | float -\n states.input_number.living_room_hvac_offset.state | float }}'",
"config": [
{
"name": "living room hvac target",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_target",
"device_id": null
}
},
{
"name": "living room hvac",
"room": "living_room",
"type": "climate",
"id": {
"entity_id": "climate.living_room_hvac",
"device_id": null
}
},
{
"name": "living room hvac offset",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_offset",
"device_id": null
}
}
]
},
{
"id": "'0304'",
"automation": "- id: '0304'\n alias: Climate - Change temperature cool\n triggers:\n - trigger: state\n entity_id: input_number.living_room_hvac_target\n - trigger: state\n entity_id: input_number.living_room_hvac_offset\n conditions:\n condition: state\n entity_id: climate.living_room_hvac\n state: cool\n actions:\n action: climate.set_temperature\n target:\n entity_id: climate.living_room_hvac\n data:\n temperature: '{{ states.input_number.living_room_hvac_target.state | float +\n states.input_number.living_room_hvac_offset.state | float }}'",
"config": [
{
"name": "living room hvac target",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_target",
"device_id": null
}
},
{
"name": "living room hvac",
"room": "living_room",
"type": "climate",
"id": {
"entity_id": "climate.living_room_hvac",
"device_id": null
}
},
{
"name": "living room hvac offset",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_offset",
"device_id": null
}
}
]
},
{
"id": "'0305'",
"automation": "- id: '0305'\n alias: Climate - Stop heating when warm\n triggers:\n trigger: template\n value_template: '{{ states.sensor.downstairs_average_temperature.state | float\n > (states.input_number.living_room_hvac_target.state | float + 0.5 | float)\n }}'\n for:\n minutes: 15\n conditions:\n condition: state\n entity_id: climate.living_room_hvac\n state: heat\n actions:\n action: climate.turn_off\n target:\n entity_id: climate.living_room_hvac",
"config": [
{
"name": "downstairs average temperature",
"room": "downstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.downstairs_average_temperature",
"device_id": null
}
},
{
"name": "living room hvac target",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_target",
"device_id": null
}
},
{
"name": "living room hvac",
"room": "living_room",
"type": "climate",
"id": {
"entity_id": "climate.living_room_hvac",
"device_id": null
}
}
]
},
{
"id": "'0306'",
"automation": "- id: '0306'\n alias: Climate - Stop cooling when cold\n triggers:\n trigger: template\n value_template: '{{ states.sensor.downstairs_average_temperature.state | float\n < (states.input_number.living_room_hvac_target.state | float - 0.5 | float)\n }}'\n for:\n minutes: 15\n conditions:\n condition: state\n entity_id: climate.living_room_hvac\n state: cool\n actions:\n action: climate.turn_off\n target:\n entity_id: climate.living_room_hvac",
"config": [
{
"name": "downstairs average temperature",
"room": "downstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.downstairs_average_temperature",
"device_id": null
}
},
{
"name": "living room hvac target",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_target",
"device_id": null
}
},
{
"name": "living room hvac",
"room": "living_room",
"type": "climate",
"id": {
"entity_id": "climate.living_room_hvac",
"device_id": null
}
}
]
},
{
"id": "'0307'",
"automation": "- id: '0307'\n alias: Climate - Report bedroom external temp\n triggers:\n - trigger: state\n entity_id: sensor.bedroom_temperature\n - trigger: time_pattern\n minutes: /5\n actions:\n action: number.set_value\n data:\n entity_id: number.bedroom_radiator_external_temperature\n value: '{{ states(''sensor.bedroom_temperature'') | float * 100 }}'",
"config": [
{
"name": "bedroom temperature",
"room": "bedroom",
"type": "sensor",
"id": {
"entity_id": "sensor.bedroom_temperature",
"device_id": null
}
},
{
"name": "bedroom radiator external temperature",
"room": "bedroom",
"type": "number",
"id": {
"entity_id": "number.bedroom_radiator_external_temperature",
"device_id": null
}
}
]
},
{
"id": "0308",
"automation": "- id: 0308\n alias: Climate - Report Lovelia's room external temp\n triggers:\n - trigger: state\n entity_id: sensor.lovelias_room_temperature\n - trigger: time_pattern\n minutes: /5\n actions:\n action: number.set_value\n data:\n entity_id: number.lovelias_room_radiator_external_temperature\n value: '{{ states(''sensor.lovelias_room_temperature'') | float * 100 }}'",
"config": [
{
"name": "lovelias room temperature",
"room": "lovelias_room",
"type": "sensor",
"id": {
"entity_id": "sensor.lovelias_room_temperature",
"device_id": null
}
},
{
"name": "lovelias room radiator external temperature",
"room": "lovelias_room",
"type": "number",
"id": {
"entity_id": "number.lovelias_room_radiator_external_temperature",
"device_id": null
}
}
]
},
{
"id": "'0401'",
"automation": "- id: '0401'\n alias: Lighting - Turn on outdoor lights at sunset\n triggers:\n trigger: sun\n event: sunset\n actions:\n action: homeassistant.turn_on\n target:\n entity_id: group.outdoor_comfort_lights",
"config": [
{
"name": "outdoor comfort lights",
"room": "outdoor",
"type": "group",
"id": {
"entity_id": "group.outdoor_comfort_lights",
"device_id": null
}
}
]
},
{
"id": "'0402'",
"automation": "- id: '0402'\n alias: Lighting - Turn on indoor lights when dark\n triggers:\n trigger: numeric_state\n entity_id: sensor.living_room_light_level\n below: 7\n for:\n seconds: 60\n conditions:\n condition: and\n conditions:\n - condition: time\n after: '12:00'\n - condition: sun\n before: sunset\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.verisure_alarm\n state: disarmed\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n actions:\n - action: homeassistant.turn_on\n target:\n entity_id:\n - scene.living_room_lights_normal\n - scene.dining_room_lights_normal\n - scene.kitchen_lights_normal\n - scene.upstairs_lights_normal",
"config": [
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "vacation mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "living room light level",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_light_level",
"device_id": null
}
},
{
"name": "night mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.night_mode",
"device_id": null
}
},
{
"name": "living room lights normal",
"room": "living_room",
"type": "scene",
"id": {
"entity_id": "scene.living_room_lights_normal",
"device_id": null
}
},
{
"name": "dining room lights normal",
"room": "dining_room",
"type": "scene",
"id": {
"entity_id": "scene.dining_room_lights_normal",
"device_id": null
}
},
{
"name": "kitchen lights normal",
"room": "kitchen",
"type": "scene",
"id": {
"entity_id": "scene.kitchen_lights_normal",
"device_id": null
}
},
{
"name": "upstairs lights normal",
"room": "upstairs",
"type": "scene",
"id": {
"entity_id": "scene.upstairs_lights_normal",
"device_id": null
}
}
]
},
{
"id": "'0403'",
"automation": "- id: '0403'\n alias: Lighting - Turn on Lovelias lights when dark\n triggers:\n trigger: numeric_state\n entity_id: sensor.living_room_light_level\n below: 7\n for:\n seconds: 60\n conditions:\n condition: and\n conditions:\n - condition: time\n after: '12:00'\n - condition: sun\n before: sunset\n - condition: time\n before: '19:00:00'\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.verisure_alarm\n state: disarmed\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n actions:\n action: homeassistant.turn_on\n target:\n entity_id: scene.lovelias_room_lights_normal",
"config": [
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "vacation mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "living room light level",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_light_level",
"device_id": null
}
},
{
"name": "night mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.night_mode",
"device_id": null
}
},
{
"name": "lovelias room lights normal",
"room": "lovelias_room",
"type": "scene",
"id": {
"entity_id": "scene.lovelias_room_lights_normal",
"device_id": null
}
}
]
},
{
"id": "'0404'",
"automation": "- id: '0404'\n alias: Lighting - Turn on bedroom lights when dark\n triggers:\n trigger: numeric_state\n entity_id: sensor.living_room_light_level\n below: 7\n for:\n seconds: 60\n conditions:\n condition: and\n conditions:\n - condition: time\n after: '12:00'\n - condition: sun\n before: sunset\n - condition: state\n entity_id: input_boolean.bedroom_block_light_automation\n state: 'off'\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'off'\n - condition: or\n conditions:\n - condition: state\n entity_id: alarm_control_panel.verisure_alarm\n state: disarmed\n - condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n actions:\n action: homeassistant.turn_on\n target:\n entity_id: scene.bedroom_lights_normal",
"config": [
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "vacation mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "living room light level",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_light_level",
"device_id": null
}
},
{
"name": "night mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.night_mode",
"device_id": null
}
},
{
"name": "bedroom lights normal",
"room": "bedroom",
"type": "scene",
"id": {
"entity_id": "scene.bedroom_lights_normal",
"device_id": null
}
},
{
"name": "bedroom block light automation",
"room": "bedroom",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.bedroom_block_light_automation",
"device_id": null
}
}
]
},
{
"id": "'0405'",
"automation": "- id: '0405'\n alias: Lighting - Turn on window lights when dark\n triggers:\n trigger: numeric_state\n entity_id: sensor.living_room_light_level\n below: 7\n for:\n seconds: 60\n conditions:\n condition: and\n conditions:\n - condition: time\n after: '12:00'\n - condition: sun\n before: sunset\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'off'\n - condition: state\n entity_id: alarm_control_panel.verisure_alarm\n state: armed_away\n actions:\n action: homeassistant.turn_on\n target:\n entity_id: group.indoor_window_lights",
"config": [
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "living room light level",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_light_level",
"device_id": null
}
},
{
"name": "night mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.night_mode",
"device_id": null
}
},
{
"name": "indoor window lights",
"room": "house",
"type": "group",
"id": {
"entity_id": "group.indoor_window_lights",
"device_id": null
}
}
]
},
{
"id": "'0406'",
"automation": "- id: '0406'\n alias: Lighting - Turn on kitchen work lights when comfort lights turns on\n triggers:\n trigger: state\n entity_id: group.downstairs_comfort_lights\n to: 'on'\n actions:\n - delay: 00:00:02\n - condition: template\n value_template: \"{% set lights = expand('group.downstairs_comfort_lights')\\n \\\n \\ | selectattr('domain', 'equalto', 'light')\\n | rejectattr('state', 'in',\\\n \\ ['unavailable', 'unknown'])\\n | map(attribute='entity_id')\\n | list %}\\n\\\n {{ lights | select('is_state', 'on') | list | count == lights | count }}\\n\"\n - if:\n condition: state\n entity_id: light.kitchen_counter_light\n state: 'off'\n then:\n action: light.turn_on\n target:\n entity_id: light.kitchen_counter_light\n data:\n brightness_pct: 20\n - if:\n condition: state\n entity_id: light.kitchen_island_light\n state: 'off'\n then:\n action: light.turn_on\n target:\n entity_id: light.kitchen_island_light\n data:\n brightness_pct: 1",
"config": [
{
"name": "downstairs comfort lights",
"room": "downstairs",
"type": "group",
"id": {
"entity_id": "group.downstairs_comfort_lights",
"device_id": null
}
},
{
"name": "kitchen counter light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_counter_light",
"device_id": null
}
},
{
"name": "kitchen island light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_island_light",
"device_id": null
}
}
]
},
{
"id": "0408",
"automation": "- id: 0408\n alias: Lighting - Turn off outdoor lights at sunrise\n triggers:\n trigger: sun\n event: sunrise\n actions:\n action: homeassistant.turn_off\n target:\n entity_id: group.outdoor_comfort_lights",
"config": [
{
"name": "outdoor comfort lights",
"room": "outdoor",
"type": "group",
"id": {
"entity_id": "group.outdoor_comfort_lights",
"device_id": null
}
}
]
},
{
"id": "0409",
"automation": "- id: 0409\n alias: Lighting - Turn off indoor lights when bright\n triggers:\n trigger: numeric_state\n entity_id: sensor.living_room_light_level\n above: 9\n for:\n minutes: 5\n conditions:\n condition: sun\n after: sunrise\n before: sunset\n actions:\n action: homeassistant.turn_off\n target:\n entity_id:\n - group.indoor_window_lights\n - group.indoor_comfort_lights",
"config": [
{
"name": "living room light level",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_light_level",
"device_id": null
}
},
{
"name": "indoor window lights",
"room": "house",
"type": "group",
"id": {
"entity_id": "group.indoor_window_lights",
"device_id": null
}
},
{
"name": "indoor comfort lights",
"room": "house",
"type": "group",
"id": {
"entity_id": "group.indoor_comfort_lights",
"device_id": null
}
}
]
},
{
"id": "'0410'",
"automation": "- id: '0410'\n alias: Lighting - Turn off kitchen work lights when comfort lights turns off\n triggers:\n trigger: state\n entity_id: group.downstairs_comfort_lights\n to: 'off'\n conditions:\n condition: state\n entity_id: binary_sensor.kitchen_motion\n state: 'off'\n for:\n minutes: 10\n actions:\n action: homeassistant.turn_off\n target:\n entity_id: group.kitchen_work_lights",
"config": [
{
"name": "downstairs comfort lights",
"room": "downstairs",
"type": "group",
"id": {
"entity_id": "group.downstairs_comfort_lights",
"device_id": null
}
},
{
"name": "kitchen motion",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
},
{
"name": "kitchen work lights",
"room": "kitchen",
"type": "group",
"id": {
"entity_id": "group.kitchen_work_lights",
"device_id": null
}
}
]
},
{
"id": "'0501'",
"automation": "- id: '0501'\n alias: Media - Living Room Harmony Spotify\n triggers:\n trigger: state\n entity_id: sensor.living_room_harmony_hub\n to: Spotify\n actions:\n - wait_template: '{{ state_attr(''media_player.living_room_shield'', ''state'')\n != ''Off'' }}\n\n '\n timeout: 00:00:30\n continue_on_timeout: false\n - action: androidtv.adb_command\n target:\n entity_id: media_player.living_room_shield\n data:\n command: am force-stop com.spotify.tv.android\n - delay:\n seconds: 2\n - variables:\n end_time: '{{ now() + timedelta(seconds=30) }}'\n - repeat:\n sequence:\n - action: androidtv.adb_command\n target:\n entity_id: media_player.living_room_shield\n data:\n command: am start -a android.intent.action.VIEW -d -n com.spotify.tv.android/.SpotifyTVActivity\n - delay: 00:00:02\n until:\n - condition: template\n value_template: '{{ state_attr(''media_player.living_room_shield'', ''source'')\n == ''Spotify'' }}\n\n '\n - wait_template: '{{ ''Living Room Shield'' in state_attr(''media_player.spotify_lucas_hokerberg'',\n ''source_list'') }}\n\n '\n timeout: 00:00:30\n continue_on_timeout: false\n - variables:\n end_time: '{{ now() + timedelta(seconds=30) }}'\n - repeat:\n sequence:\n - action: media_player.select_source\n target:\n entity_id: media_player.spotify_lucas_hokerberg\n data:\n source: Living Room Shield\n - delay: 00:00:05\n until:\n - condition: template\n value_template: '{{ state_attr(''media_player.spotify_lucas_hokerberg'', ''source'')\n == ''Living Room Shield'' or now() >= end_time }}\n\n '\n - action: remote.send_command\n target:\n entity_id: remote.living_room_harmony_hub\n data:\n command: Mute\n device: Receiver\n - variables:\n end_time: '{{ now() + timedelta(seconds=30) }}'\n - repeat:\n sequence:\n - action: androidtv.adb_command\n target:\n entity_id: media_player.living_room_shield\n data:\n command: ENTER\n - delay: 00:00:05\n until:\n - condition: template\n value_template: '{{ states(''media_player.spotify_lucas_hokerberg'') == ''playing''\n or now() >= end_time }}\n\n '\n - action: media_player.play_media\n target:\n entity_id: media_player.spotify_lucas_hokerberg\n data:\n media_content_id: https://open.spotify.com/playlist/37i9dQZEVXcH5UOFYpBVWG?si=b012073025ac4849\n media_content_type: playlist\n - action: remote.send_command\n target:\n entity_id: remote.living_room_harmony_hub\n data:\n command: Mute\n device: Receiver\n - action: media_player.shuffle_set\n target:\n entity_id: media_player.spotify_lucas_hokerberg\n data:\n shuffle: true",
"config": [
{
"name": "living room harmony hub",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_harmony_hub",
"device_id": null
}
},
{
"name": "living room shield",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_shield",
"device_id": null
}
},
{
"name": "spotify lucas hokerberg",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.spotify_lucas_hokerberg",
"device_id": null
}
},
{
"name": "living room harmony hub remote",
"room": "living_room",
"type": "remote",
"id": {
"entity_id": "remote.living_room_harmony_hub",
"device_id": null
}
}
]
},
{
"id": "'0502'",
"automation": "- id: '0502'\n alias: Media - Living Room Harmony Movie Mode\n triggers:\n trigger: state\n entity_id: sensor.living_room_harmony_hub\n to: Movie Mode\n actions:\n - action: homeassistant.turn_off\n target:\n entity_id:\n - group.downstairs_lights\n - light.upstairs_window_light\n - action: scene.turn_on\n target:\n entity_id: scene.living_room_lights_plex\n data:\n transition: 2\n - delay:\n seconds: 12\n - action: androidtv.adb_command\n target:\n entity_id: media_player.living_room_shield\n data:\n command: am start -a android.intent.action.MAIN -c android.intent.category.LEANBACK_LAUNCHER\n -n com.plexapp.android/com.plexapp.plex.activities.SplashActivity",
"config": [
{
"name": "living room harmony hub",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_harmony_hub",
"device_id": null
}
},
{
"name": "living room shield",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_shield",
"device_id": null
}
},
{
"name": "downstairs lights",
"room": "downstairs",
"type": "group",
"id": {
"entity_id": "group.downstairs_lights",
"device_id": null
}
},
{
"name": "upstairs window light",
"room": "upstairs",
"type": "light",
"id": {
"entity_id": "light.upstairs_window_light",
"device_id": null
}
},
{
"name": "living room lights plex",
"room": "living_room",
"type": "scene",
"id": {
"entity_id": "scene.living_room_lights_plex",
"device_id": null
}
}
]
},
{
"id": "'0503'",
"automation": "- id: '0503'\n alias: Media - Turn off lights when Plex plays\n initial_state: 'on'\n triggers:\n trigger: state\n entity_id: media_player.living_room_shield\n to: playing\n conditions:\n condition: state\n entity_id: sensor.living_room_harmony_hub\n state: Movie Mode\n actions:\n action: light.turn_off\n target:\n entity_id: group.downstairs_lights\n data:\n transition: 2",
"config": [
{
"name": "living room harmony hub",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_harmony_hub",
"device_id": null
}
},
{
"name": "living room shield",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_shield",
"device_id": null
}
},
{
"name": "downstairs lights",
"room": "downstairs",
"type": "group",
"id": {
"entity_id": "group.downstairs_lights",
"device_id": null
}
}
]
},
{
"id": "'0504'",
"automation": "- id: '0504'\n alias: Media - Turn on lights when Plex stops\n initial_state: 'on'\n triggers:\n trigger: state\n entity_id: media_player.living_room_shield\n to: idle\n conditions:\n condition: state\n entity_id: sensor.living_room_harmony_hub\n state: Movie Mode\n actions:\n action: scene.turn_on\n target:\n entity_id: scene.living_room_lights_plex\n data:\n transition: 2",
"config": [
{
"name": "living room harmony hub",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_harmony_hub",
"device_id": null
}
},
{
"name": "living room shield",
"room": "living_room",
"type": "media_player",
"id": {
"entity_id": "media_player.living_room_shield",
"device_id": null
}
},
{
"name": "living room lights plex",
"room": "living_room",
"type": "scene",
"id": {
"entity_id": "scene.living_room_lights_plex",
"device_id": null
}
}
]
},
{
"id": "'0505'",
"automation": "- id: '0505'\n alias: Media - Turn on lights when Living Room Harmony exit Movie Mode\n triggers:\n trigger: state\n entity_id: sensor.living_room_harmony_hub\n from: Movie Mode\n actions:\n action: homeassistant.turn_on\n target:\n entity_id:\n - scene.living_room_lights_normal\n - scene.dining_room_lights_normal\n - scene.kitchen_lights_normal\n - scene.upstairs_lights_normal",
"config": [
{
"name": "living room lights normal",
"room": "living_room",
"type": "scene",
"id": {
"entity_id": "scene.living_room_lights_normal",
"device_id": null
}
},
{
"name": "dining room lights normal",
"room": "dining_room",
"type": "scene",
"id": {
"entity_id": "scene.dining_room_lights_normal",
"device_id": null
}
},
{
"name": "kitchen lights normal",
"room": "kitchen",
"type": "scene",
"id": {
"entity_id": "scene.kitchen_lights_normal",
"device_id": null
}
},
{
"name": "upstairs lights normal",
"room": "upstairs",
"type": "scene",
"id": {
"entity_id": "scene.upstairs_lights_normal",
"device_id": null
}
},
{
"name": "living room harmony hub",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_harmony_hub",
"device_id": null
}
}
]
},
{
"id": "'0506'",
"automation": "- id: '0506'\n alias: Media - Turn on lights when computer start\n triggers:\n trigger: state\n entity_id: device_tracker.lucas_pc\n to: home\n actions:\n action: scene.turn_on\n target:\n entity_id: scene.upstairs_desk_light_computer",
"config": [
{
"name": "lucas pc tracker",
"room": "upstairs",
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.lucas_pc",
"device_id": null
}
},
{
"name": "upstairs desk light computer",
"room": "upstairs",
"type": "scene",
"id": {
"entity_id": "scene.upstairs_desk_light_computer",
"device_id": null
}
}
]
},
{
"id": "'0507'",
"automation": "- id: '0507'\n alias: Media - Turn off lights when computer stop\n triggers:\n trigger: state\n entity_id: device_tracker.lucas_pc\n to: not_home\n actions:\n action: light.turn_off\n target:\n entity_id: light.upstairs_desk_light",
"config": [
{
"name": "lucas pc tracker",
"room": "upstairs",
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.lucas_pc",
"device_id": null
}
},
{
"name": "upstairs desk light",
"room": "upstairs",
"type": "light",
"id": {
"entity_id": "light.upstairs_desk_light",
"device_id": null
}
}
]
},
{
"id": "'0601'",
"automation": "- id: '0601'\n alias: Motion - Turn on lights on living room motion\n triggers:\n trigger: state\n entity_id: binary_sensor.living_room_motion\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.living_room_floor_light\n state: 'off'\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'on'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n - action: light.turn_on\n target:\n entity_id: light.living_room_floor_light_1\n - wait_for_trigger:\n trigger: state\n entity_id: binary_sensor.living_room_motion\n to: 'off'\n timeout:\n minutes: 5\n - action: light.turn_off\n target:\n entity_id: light.living_room_floor_light_1",
"config": [
{
"name": "night mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.night_mode",
"device_id": null
}
},
{
"name": "living room motion",
"room": "living_room",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.living_room_motion",
"device_id": null
}
},
{
"name": "living room floor light",
"room": "living_room",
"type": "group",
"id": {
"entity_id": "group.living_room_floor_light",
"device_id": null
}
},
{
"name": "guest mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "living room floor light 1",
"room": "living_room",
"type": "light",
"id": {
"entity_id": "light.living_room_floor_light_1",
"device_id": null
}
}
]
},
{
"id": "'0602'",
"automation": "- id: '0602'\n alias: Motion - Turn on lights on upstairs motion\n triggers:\n trigger: state\n entity_id: binary_sensor.upstairs_motion\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.upstairs_window_light\n state: 'off'\n - condition: state\n entity_id: light.upstairs_desk_light\n state: 'off'\n - condition: numeric_state\n entity_id: sensor.upstairs_light_level\n below: 6\n actions:\n - action: scene.turn_on\n target:\n entity_id: scene.upstairs_desk_light_night_motion\n - wait_for_trigger:\n trigger: state\n entity_id: binary_sensor.upstairs_motion\n to: 'off'\n timeout:\n minutes: 5\n - action: light.turn_off\n target:\n entity_id: light.upstairs_desk_light",
"config": [
{
"name": "upstairs window light",
"room": "upstairs",
"type": "light",
"id": {
"entity_id": "light.upstairs_window_light",
"device_id": null
}
},
{
"name": "upstairs desk light",
"room": "upstairs",
"type": "light",
"id": {
"entity_id": "light.upstairs_desk_light",
"device_id": null
}
},
{
"name": "upstairs motion",
"room": "upstairs",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.upstairs_motion",
"device_id": null
}
},
{
"name": "upstairs light level",
"room": "upstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.upstairs_light_level",
"device_id": null
}
},
{
"name": "upstairs desk light night motion",
"room": "upstairs",
"type": "scene",
"id": {
"entity_id": "scene.upstairs_desk_light_night_motion",
"device_id": null
}
}
]
},
{
"id": "'0603'",
"automation": "- id: '0603'\n alias: Motion - Turn on lights on driveway motion\n triggers:\n trigger: state\n entity_id: binary_sensor.outdoor_driveway_motion\n to: 'on'\n conditions:\n - condition: state\n entity_id: group.outdoor_comfort_lights\n state: 'on'\n - condition: state\n entity_id: switch.outdoor_driveway_floodlight\n state: 'off'\n actions:\n - action: switch.turn_on\n target:\n entity_id: switch.outdoor_driveway_floodlight\n - wait_for_trigger:\n trigger: state\n entity_id: binary_sensor.outdoor_driveway_motion\n to: 'off'\n timeout:\n minutes: 5\n - action: switch.turn_off\n target:\n entity_id: switch.outdoor_driveway_floodlight",
"config": [
{
"name": "outdoor comfort lights",
"room": "outdoor",
"type": "group",
"id": {
"entity_id": "group.outdoor_comfort_lights",
"device_id": null
}
},
{
"name": "outdoor driveway motion",
"room": "outdoor",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.outdoor_driveway_motion",
"device_id": null
}
},
{
"name": "outdoor driveway floodlight",
"room": "outdoor",
"type": "switch",
"id": {
"entity_id": "switch.outdoor_driveway_floodlight",
"device_id": null
}
}
]
},
{
"id": "'0605'",
"automation": "- id: '0605'\n alias: Motion - Turn on lights on kitchen motion in night\n triggers:\n trigger: state\n entity_id: binary_sensor.kitchen_motion\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.kitchen_island_light\n state: 'off'\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'on'\n actions:\n - action: light.turn_on\n target:\n entity_id: light.kitchen_island_light\n data:\n brightness_pct: 1\n - wait_for_trigger:\n trigger: state\n entity_id: binary_sensor.kitchen_motion\n to: 'off'\n timeout:\n minutes: 5\n - action: light.turn_off\n target:\n entity_id: light.kitchen_island_light",
"config": [
{
"name": "night mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.night_mode",
"device_id": null
}
},
{
"name": "kitchen island light",
"room": "kitchen",
"type": "light",
"id": {
"entity_id": "light.kitchen_island_light",
"device_id": null
}
},
{
"name": "kitchen motion",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
}
]
},
{
"id": "'0606'",
"automation": "- id: '0606'\n alias: Motion - Turn off lights on no kitchen motion\n triggers:\n trigger: state\n entity_id: binary_sensor.kitchen_motion\n to: 'off'\n for:\n minutes: 10\n conditions:\n - condition: state\n entity_id: group.downstairs_lights\n state: 'off'\n - condition: state\n entity_id: group.kitchen_work_lights\n state: 'on'\n actions:\n action: homeassistant.turn_off\n target:\n entity_id: group.kitchen_work_lights",
"config": [
{
"name": "kitchen motion",
"room": "kitchen",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.kitchen_motion",
"device_id": null
}
},
{
"name": "kitchen work lights",
"room": "kitchen",
"type": "group",
"id": {
"entity_id": "group.kitchen_work_lights",
"device_id": null
}
},
{
"name": "downstairs lights",
"room": "downstairs",
"type": "group",
"id": {
"entity_id": "group.downstairs_lights",
"device_id": null
}
}
]
},
{
"id": "'0701'",
"automation": "- id: '0701'\n alias: Presence - Notify on zone enter or leave\n triggers:\n - trigger: state\n entity_id: person.lucas_hokerberg\n from: not_home\n to: Gelita\n for: 00:00:30\n - trigger: state\n entity_id: person.lucas_hokerberg\n from: Gelita\n to: not_home\n for: 00:00:30\n actions:\n action: notify.home_mobile_apps\n data_template:\n title: HalloNET Home\n message: '{{ trigger.to_state.attributes.friendly_name }} {% if trigger.to_state.state\n == \"not_home\" %} left {{ trigger.from_state.state }} {% else %} arrived at\n {{ trigger.to_state.state }}. {% endif %}'\n data:\n channel: Presence",
"config": [
{
"name": "person lucas hokerberg",
"room": "house",
"type": "person",
"id": {
"entity_id": "person.lucas_hokerberg",
"device_id": null
}
}
]
},
{
"id": "'0702'",
"automation": "- id: '0702'\n alias: Presence - Turn on indoor lights when someone comes home 1\n triggers:\n trigger: state\n entity_id: alarm_control_panel.verisure_alarm\n from: armed_away\n to: disarmed\n conditions:\n condition: state\n entity_id: group.indoor_window_lights\n state: 'on'\n actions:\n action: homeassistant.turn_on\n entity_id:\n - scene.living_room_lights_normal\n - scene.dining_room_lights_normal\n - scene.kitchen_lights_normal\n - scene.upstairs_lights_normal\n - scene.lovelias_room_lights_normal\n - scene.bedroom_lights_normal",
"config": [
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "living room lights normal",
"room": "living_room",
"type": "scene",
"id": {
"entity_id": "scene.living_room_lights_normal",
"device_id": null
}
},
{
"name": "dining room lights normal",
"room": "dining_room",
"type": "scene",
"id": {
"entity_id": "scene.dining_room_lights_normal",
"device_id": null
}
},
{
"name": "kitchen lights normal",
"room": "kitchen",
"type": "scene",
"id": {
"entity_id": "scene.kitchen_lights_normal",
"device_id": null
}
},
{
"name": "upstairs lights normal",
"room": "upstairs",
"type": "scene",
"id": {
"entity_id": "scene.upstairs_lights_normal",
"device_id": null
}
},
{
"name": "lovelias room lights normal",
"room": "lovelias_room",
"type": "scene",
"id": {
"entity_id": "scene.lovelias_room_lights_normal",
"device_id": null
}
},
{
"name": "bedroom lights normal",
"room": "bedroom",
"type": "scene",
"id": {
"entity_id": "scene.bedroom_lights_normal",
"device_id": null
}
},
{
"name": "indoor window lights",
"room": "house",
"type": "group",
"id": {
"entity_id": "group.indoor_window_lights",
"device_id": null
}
}
]
},
{
"id": "'0703'",
"automation": "- id: '0703'\n alias: Presence - Turn on indoor lights when someone comes home 2\n triggers:\n trigger: state\n entity_id: binary_sensor.hallway_front_door_contact_sensor\n to: 'on'\n conditions:\n - condition: state\n entity_id: alarm_control_panel.verisure_alarm\n state: armed_away\n - condition: state\n entity_id: group.indoor_window_lights\n state: 'on'\n actions:\n action: automation.trigger\n target:\n entity_id: automation.presence_turn_on_indoor_lights_when_someone_comes_home_1",
"config": [
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "indoor window lights",
"room": "house",
"type": "group",
"id": {
"entity_id": "group.indoor_window_lights",
"device_id": null
}
},
{
"name": "hallway front door contact sensor",
"room": "hallway",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.hallway_front_door_contact_sensor",
"device_id": null
}
},
{
"name": "Presence Turn On Indoor Lights When Someone Comes Home 1",
"room": null,
"type": "automation",
"id": {
"entity_id": "automation.presence_turn_on_indoor_lights_when_someone_comes_home_1",
"device_id": null
}
}
]
},
{
"id": "'0704'",
"automation": "- id: '0704'\n alias: Presence - Turn on heat when cold and someone comes home\n triggers:\n trigger: state\n entity_id: alarm_control_panel.verisure_alarm\n from: armed_away\n to: disarmed\n conditions:\n - condition: template\n value_template: '{{ states.sensor.downstairs_average_temperature.state | float\n < (states.input_number.living_room_hvac_target.state | float - 0.5 | float)\n }}'\n - condition: state\n entity_id: climate.living_room_hvac\n state: 'off'\n actions:\n action: automation.trigger\n target:\n entity_id: automation.climate_start_heating_when_cold",
"config": [
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "downstairs average temperature",
"room": "downstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.downstairs_average_temperature",
"device_id": null
}
},
{
"name": "living room hvac target",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_target",
"device_id": null
}
},
{
"name": "living room hvac",
"room": "living_room",
"type": "climate",
"id": {
"entity_id": "climate.living_room_hvac",
"device_id": null
}
},
{
"name": "Climate Start Heating When Cold",
"room": null,
"type": "automation",
"id": {
"entity_id": "automation.climate_start_heating_when_cold",
"device_id": null
}
}
]
},
{
"id": "'0705'",
"automation": "- id: '0705'\n alias: Presence - Turn on AC when warm and someone comes home\n triggers:\n trigger: state\n entity_id: alarm_control_panel.verisure_alarm\n from: armed_away\n to: disarmed\n conditions:\n - condition: template\n value_template: '{{ states.sensor.downstairs_average_temperature.state | float\n > (states.input_number.living_room_hvac_target.state | float + 0.5 | float)\n }}'\n - condition: state\n entity_id: climate.living_room_hvac\n state: 'off'\n actions:\n action: automation.trigger\n target:\n entity_id: automation.climate_start_cooling_when_warm",
"config": [
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "downstairs average temperature",
"room": "downstairs",
"type": "sensor",
"id": {
"entity_id": "sensor.downstairs_average_temperature",
"device_id": null
}
},
{
"name": "living room hvac target",
"room": "living_room",
"type": "input_number",
"id": {
"entity_id": "input_number.living_room_hvac_target",
"device_id": null
}
},
{
"name": "living room hvac",
"room": "living_room",
"type": "climate",
"id": {
"entity_id": "climate.living_room_hvac",
"device_id": null
}
},
{
"name": "Climate Start Cooling When Warm",
"room": null,
"type": "automation",
"id": {
"entity_id": "automation.climate_start_cooling_when_warm",
"device_id": null
}
}
]
},
{
"id": "'0706'",
"automation": "- id: '0706'\n alias: Presence - Turn off lights and TV when alarm is armed away\n triggers:\n trigger: state\n entity_id: alarm_control_panel.verisure_alarm\n to: armed_away\n actions:\n action: homeassistant.turn_off\n target:\n entity_id:\n - group.indoor_comfort_lights\n - group.indoor_work_lights\n - remote.living_room_harmony_hub",
"config": [
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "indoor comfort lights",
"room": "house",
"type": "group",
"id": {
"entity_id": "group.indoor_comfort_lights",
"device_id": null
}
},
{
"name": "living room harmony hub remote",
"room": "living_room",
"type": "remote",
"id": {
"entity_id": "remote.living_room_harmony_hub",
"device_id": null
}
},
{
"name": "indoor work lights",
"room": "house",
"type": "group",
"id": {
"entity_id": "group.indoor_work_lights",
"device_id": null
}
}
]
},
{
"id": "'0707'",
"automation": "- id: '0707'\n alias: Presence - Turn on wardrobe light on door open\n triggers:\n trigger: state\n entity_id: binary_sensor.bedroom_wardrobe_contact_sensor\n to: 'on'\n actions:\n action: light.turn_on\n target:\n entity_id: light.bedroom_wardrobe_ceiling_light",
"config": [
{
"name": "bedroom wardrobe contact sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_wardrobe_contact_sensor",
"device_id": null
}
},
{
"name": "bedroom wardrobe ceiling light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_wardrobe_ceiling_light",
"device_id": null
}
}
]
},
{
"id": "0708",
"automation": "- id: 0708\n alias: Presence - Turn off wardrobe light on door close\n triggers:\n trigger: state\n entity_id: binary_sensor.bedroom_wardrobe_contact_sensor\n to: 'off'\n actions:\n action: light.turn_off\n target:\n entity_id: light.bedroom_wardrobe_ceiling_light",
"config": [
{
"name": "bedroom wardrobe contact sensor",
"room": "bedroom",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.bedroom_wardrobe_contact_sensor",
"device_id": null
}
},
{
"name": "bedroom wardrobe ceiling light",
"room": "bedroom",
"type": "light",
"id": {
"entity_id": "light.bedroom_wardrobe_ceiling_light",
"device_id": null
}
}
]
},
{
"id": "0709",
"automation": "- id: 0709\n alias: Presence - Turn off vacation mode when someone comes home\n triggers:\n trigger: state\n entity_id: alarm_control_panel.verisure_alarm\n from: armed_away\n to: disarmed\n conditions:\n condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n actions:\n - action: input_boolean.turn_off\n target:\n entity_id: input_boolean.vacation_mode\n - action: notify.home_mobile_apps\n data:\n title: HalloNET Home\n message: Welcome home! Vacation mode has been turned off.\n data:\n channel: Presence\n actions:\n - action: turn_on_vacation_mode\n title: Turn on vacation mode",
"config": [
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "vacation mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
}
]
},
{
"id": "0801",
"automation": "- id: 0801\n alias: Reminder - Garbage Can 1\n triggers:\n - trigger: time\n at: 08:00:00\n - trigger: time\n at: '20:00:00'\n conditions:\n condition: template\n value_template: '{{ states(''sensor.garbage_can_1'') == ''Tomorrow'' }}'\n actions:\n action: notify.home_mobile_apps\n data:\n title: HalloNET Home\n message: Garbage can 1 is emptied tomorrow.\n data:\n channel: Reminder",
"config": [
{
"name": "garbage can 1",
"room": "outdoor",
"type": "sensor",
"id": {
"entity_id": "sensor.garbage_can_1",
"device_id": null
}
}
]
},
{
"id": "0802",
"automation": "- id: 0802\n alias: Reminder - Garbage Can 2\n triggers:\n - trigger: time\n at: 08:00:00\n - trigger: time\n at: '20:00:00'\n conditions:\n condition: template\n value_template: '{{ states(''sensor.garbage_can_2'') == ''Tomorrow'' }}'\n actions:\n action: notify.home_mobile_apps\n data:\n title: HalloNET Home\n message: Garbage can 2 is emptied tomorrow.\n data:\n channel: Reminder",
"config": [
{
"name": "garbage can 2",
"room": "outdoor",
"type": "sensor",
"id": {
"entity_id": "sensor.garbage_can_2",
"device_id": null
}
}
]
},
{
"id": "0803",
"automation": "- id: 0803\n alias: Reminder - Garden Waste\n triggers:\n - trigger: time\n at: 08:00:00\n - trigger: time\n at: '20:00:00'\n conditions:\n condition: template\n value_template: '{{ states(''sensor.garden_waste'') == ''Tomorrow'' }}'\n actions:\n action: notify.home_mobile_apps\n data:\n title: HalloNET Home\n message: Garden waste is emptied tomorrow.\n data:\n channel: Reminder",
"config": [
{
"name": "garden waste",
"room": "outdoor",
"type": "sensor",
"id": {
"entity_id": "sensor.garden_waste",
"device_id": null
}
}
]
},
{
"id": "0901",
"automation": "- id: 0901\n alias: Routine - Wake up Lucas\n triggers:\n trigger: template\n value_template: '{{ as_timestamp(states(\"sensor.lucas_hokerberg_next_alarm\"))\n - 300 < as_timestamp(now()) }}'\n conditions:\n - condition: state\n entity_id: person.lucas_hokerberg\n state: home\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'on'\n actions:\n action: script.wake_up",
"config": [
{
"name": "night mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.night_mode",
"device_id": null
}
},
{
"name": "person lucas hokerberg",
"room": "house",
"type": "person",
"id": {
"entity_id": "person.lucas_hokerberg",
"device_id": null
}
},
{
"name": "lucas hokerberg next alarm",
"room": "bedroom",
"type": "sensor",
"id": {
"entity_id": "sensor.lucas_hokerberg_next_alarm",
"device_id": null
}
},
{
"name": "wake up script",
"room": "house",
"type": "script",
"id": {
"entity_id": "script.wake_up",
"device_id": null
}
}
]
},
{
"id": "0904",
"automation": "- id: 0904\n alias: Routine - Wake up\n triggers:\n trigger: time\n at: 08:00:00\n actions:\n - delay:\n minutes: '{{ range(2,32) | random | int }}'\n - action: script.wake_up",
"config": [
{
"name": "wake up script",
"room": "house",
"type": "script",
"id": {
"entity_id": "script.wake_up",
"device_id": null
}
}
]
},
{
"id": "0902",
"automation": "- id: 0902\n alias: Routine - Wake up and dark\n triggers:\n trigger: state\n entity_id: script.wake_up\n to: 'on'\n conditions:\n - condition: numeric_state\n entity_id: sensor.living_room_light_level\n below: 7\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n action: homeassistant.turn_on\n target:\n entity_id:\n - scene.living_room_lights_normal\n - scene.dining_room_lights_normal\n - scene.kitchen_lights_normal",
"config": [
{
"name": "living room light level",
"room": "living_room",
"type": "sensor",
"id": {
"entity_id": "sensor.living_room_light_level",
"device_id": null
}
},
{
"name": "living room lights normal",
"room": "living_room",
"type": "scene",
"id": {
"entity_id": "scene.living_room_lights_normal",
"device_id": null
}
},
{
"name": "dining room lights normal",
"room": "dining_room",
"type": "scene",
"id": {
"entity_id": "scene.dining_room_lights_normal",
"device_id": null
}
},
{
"name": "kitchen lights normal",
"room": "kitchen",
"type": "scene",
"id": {
"entity_id": "scene.kitchen_lights_normal",
"device_id": null
}
},
{
"name": "guest mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "wake up script",
"room": "house",
"type": "script",
"id": {
"entity_id": "script.wake_up",
"device_id": null
}
}
]
},
{
"id": "0903",
"automation": "- id: 0903\n alias: Routine - Bedtime\n triggers:\n trigger: state\n entity_id: group.downstairs_lights\n to: 'off'\n conditions:\n - condition: time\n after: '21:00'\n before: 03:00\n - condition: state\n entity_id: remote.living_room_harmony_hub\n state: 'off'\n - condition: state\n entity_id: input_boolean.night_mode\n state: 'off'\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n action: script.bedtime",
"config": [
{
"name": "night mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.night_mode",
"device_id": null
}
},
{
"name": "living room harmony hub remote",
"room": "living_room",
"type": "remote",
"id": {
"entity_id": "remote.living_room_harmony_hub",
"device_id": null
}
},
{
"name": "downstairs lights",
"room": "downstairs",
"type": "group",
"id": {
"entity_id": "group.downstairs_lights",
"device_id": null
}
},
{
"name": "guest mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "bedtime script",
"room": "house",
"type": "script",
"id": {
"entity_id": "script.bedtime",
"device_id": null
}
}
]
},
{
"id": "0905",
"automation": "- id: 0905\n alias: Routine - Bedtime vacation\n triggers:\n trigger: time\n at: '21:58:00'\n conditions:\n condition: state\n entity_id: input_boolean.vacation_mode\n state: 'on'\n actions:\n - delay:\n minutes: '{{ range(16,59) | random | int }}'\n - action: script.indoor_lights_off\n - action: input_boolean.turn_on\n target:\n entity_id: input_boolean.night_mode",
"config": [
{
"name": "vacation mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.vacation_mode",
"device_id": null
}
},
{
"name": "night mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.night_mode",
"device_id": null
}
},
{
"name": "indoor lights off script",
"room": "house",
"type": "script",
"id": {
"entity_id": "script.indoor_lights_off",
"device_id": null
}
}
]
},
{
"id": "'1001'",
"automation": "- id: '1001'\n alias: Security - Notify when home is unsecured\n triggers:\n trigger: state\n entity_id: group.home_members\n from: home\n for: 00:00:30\n conditions:\n - condition: or\n conditions:\n - condition: state\n entity_id: lock.hallway_front_door_lock\n state: unlocked\n - condition: state\n entity_id: alarm_control_panel.verisure_alarm\n state: disarmed\n - condition: state\n entity_id: input_boolean.guest_mode\n state: 'off'\n actions:\n action: notify.home_mobile_apps\n data_template:\n title: HalloNET Home\n message: Home is left unsecured! The front door is {{ states(\"lock.hallway_front_door_lock\")\n }} and the alarm is {{ states(\"alarm_control_panel.verisure_alarm\") }}!\n data:\n channel: Security\n actions:\n - action: lock_hallway_front_door_lock\n title: Lock Front Door",
"config": [
{
"name": "hallway front door lock",
"room": "hallway",
"type": "lock",
"id": {
"entity_id": "lock.hallway_front_door_lock",
"device_id": null
}
},
{
"name": "verisure alarm",
"room": "hallway",
"type": "alarm_control_panel",
"id": {
"entity_id": "alarm_control_panel.verisure_alarm",
"device_id": null
}
},
{
"name": "guest mode",
"room": "house",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.guest_mode",
"device_id": null
}
},
{
"name": "home members",
"room": "house",
"type": "group",
"id": {
"entity_id": "group.home_members",
"device_id": null
}
}
]
},
{
"id": "'1002'",
"automation": "- id: '1002'\n alias: Security - Notify on entrance doorbell\n triggers:\n trigger: state\n entity_id: binary_sensor.outdoor_entrance_doorbell\n to: 'on'\n actions:\n action: notify.home_mobile_apps\n data:\n title: HalloNET Home\n message: Someone is at the front door!\n data:\n channel: Security\n actions:\n - action: unlock_hallway_front_door_lock\n title: Unlock Front Door",
"config": [
{
"name": "outdoor entrance doorbell",
"room": "outdoor",
"type": "binary_sensor",
"id": {
"entity_id": "binary_sensor.outdoor_entrance_doorbell",
"device_id": null
}
}
]
},
{
"id": "'1101'",
"automation": "- id: '1101'\n alias: Car - FGH47K Stop charging at level\n triggers:\n trigger: state\n entity_id: sensor.fgh47k_battery_level\n conditions:\n - condition: template\n value_template: '{% set old = trigger.from_state.state | int(0) %} {% set new\n = trigger.to_state.state | int(0) %} {% set limit = states(''input_number.fgh47k_charge_level'')\n | int(0) %} {{ old < limit and new >= limit }}'\n - condition: state\n entity_id: switch.fgh47k_charging\n state: 'on'\n actions:\n - action: switch.turn_off\n target:\n entity_id: switch.fgh47k_charging\n - action: notify.mobile_app_lucas_hokerberg\n data:\n title: HalloNET Home\n message: FGH47K battery level reached {{ states.sensor.fgh47k_battery_level.state\n }} %. Charging has been stopped!\n data:\n channel: Car\n actions:\n - action: fgh47k_restart_charging\n title: Restart charging",
"config": [
{
"name": "fgh47k charging",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.fgh47k_charging",
"device_id": null
}
},
{
"name": "fgh47k battery level",
"room": "garage",
"type": "sensor",
"id": {
"entity_id": "sensor.fgh47k_battery_level",
"device_id": null
}
},
{
"name": "fgh47k charge level",
"room": "garage",
"type": "input_number",
"id": {
"entity_id": "input_number.fgh47k_charge_level",
"device_id": null
}
}
]
},
{
"id": "'1102'",
"automation": "- id: '1102'\n alias: Car - FGH47K Reset charge on stop\n triggers:\n trigger: state\n entity_id: switch.fgh47k_charging\n from: 'on'\n to: 'off'\n conditions:\n condition: state\n entity_id: input_boolean.fgh47k_auto_charge\n state: 'on'\n actions:\n action: switch.turn_on\n target:\n entity_id: switch.fgh47k_reduced_current",
"config": [
{
"name": "fgh47k charging",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.fgh47k_charging",
"device_id": null
}
},
{
"name": "fgh47k auto charge",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.fgh47k_auto_charge",
"device_id": null
}
},
{
"name": "fgh47k reduced current",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.fgh47k_reduced_current",
"device_id": null
}
}
]
},
{
"id": "'1103'",
"automation": "- id: '1103'\n alias: Car - FGH47K Set charge level on start\n triggers:\n trigger: state\n entity_id: switch.fgh47k_charging\n from: 'off'\n to: 'on'\n conditions:\n condition: state\n entity_id: input_boolean.fgh47k_auto_charge\n state: 'on'\n actions:\n - delay:\n minutes: 5\n - action: input_number.set_value\n target:\n entity_id: input_number.fgh47k_charge_level\n data:\n value: \"{% if is_state('device_tracker.fgh47k', 'home') %}\\n {% set temp =\\\n \\ states('sensor.outdoor_temperature') | float %}\\n{% else %}\\n {% set temp\\\n \\ = states('sensor.fgh47k_outside_temperature') | float %}\\n{% endif %} {%\\\n \\ if temp < 5 %}\\n 100\\n{% elif temp < 10 %}\\n 90\\n{% else %}\\n 80\\n{%\\\n \\ endif %}\\n\"",
"config": [
{
"name": "fgh47k charging",
"room": "garage",
"type": "switch",
"id": {
"entity_id": "switch.fgh47k_charging",
"device_id": null
}
},
{
"name": "fgh47k charge level",
"room": "garage",
"type": "input_number",
"id": {
"entity_id": "input_number.fgh47k_charge_level",
"device_id": null
}
},
{
"name": "fgh47k auto charge",
"room": "garage",
"type": "input_boolean",
"id": {
"entity_id": "input_boolean.fgh47k_auto_charge",
"device_id": null
}
},
{
"name": "fgh47k tracker",
"room": "garage",
"type": "device_tracker",
"id": {
"entity_id": "device_tracker.fgh47k",
"device_id": null
}
},
{
"name": "outdoor temperature",
"room": "outdoor",
"type": "sensor",
"id": {
"entity_id": "sensor.outdoor_temperature",
"device_id": null
}
},
{
"name": "fgh47k outside temperature",
"room": "garage",
"type": "sensor",
"id": {
"entity_id": "sensor.fgh47k_outside_temperature",
"device_id": null
}
}
]
},
{
"id": "'1104'",
"automation": "- id: '1104'\n alias: Car - Lock charger when cable disconnected\n trigger:\n trigger: state\n entity_id: sensor.outdoor_ev_charger_mode\n to: disconnected\n for:\n minutes: 5\n actions:\n action: switch.turn_on\n target:\n entity_id: switch.outdoor_ev_charger_cable_lock",
"config": [
{
"name": "outdoor ev charger mode",
"room": "outdoor",
"type": "sensor",
"id": {
"entity_id": "sensor.outdoor_ev_charger_mode",
"device_id": null
}
},
{
"name": "outdoor ev charger cable lock",
"room": "outdoor",
"type": "switch",
"id": {
"entity_id": "switch.outdoor_ev_charger_cable_lock",
"device_id": null
}
}
]
},
{
"id": "'1105'",
"automation": "- id: '1105'\n alias: Car - Unlock charger when cable connected\n trigger:\n trigger: state\n entity_id: sensor.outdoor_ev_charger_mode\n to: connected_charging\n actions:\n action: switch.turn_off\n target:\n entity_id: switch.outdoor_ev_charger_cable_lock",
"config": [
{
"name": "outdoor ev charger mode",
"room": "outdoor",
"type": "sensor",
"id": {
"entity_id": "sensor.outdoor_ev_charger_mode",
"device_id": null
}
},
{
"name": "outdoor ev charger cable lock",
"room": "outdoor",
"type": "switch",
"id": {
"entity_id": "switch.outdoor_ev_charger_cable_lock",
"device_id": null
}
}
]
},
{
"id": "'1201'",
"automation": "- id: '1201'\n alias: 3D Print - Notify when print finished\n triggers:\n trigger: state\n entity_id: sensor.3d_printer_print_status\n from: running\n to: finish\n actions:\n - wait_for_trigger:\n trigger: numeric_state\n entity_id: sensor.3d_printer_bed_temperature\n below: 35\n timeout:\n hours: 1\n continue_on_timeout: true\n - choose:\n - conditions:\n condition: numeric_state\n entity_id: sensor.3d_printer_bed_temperature\n below: 35\n sequence:\n action: notify.mobile_app_lucas_hokerberg\n data:\n title: HalloNET Home\n message: 3D print is finished and the bed has cooled down.\n data:\n channel: 3D Print\n image: /api/camera_proxy/camera.3d_printer_camera\n default:\n action: notify.mobile_app_lucas_hokerberg\n data:\n title: HalloNET Home\n message: 3D print is finished, but the bed hase not cooled down yet.\n data:\n channel: 3D Print\n image: /api/camera_proxy/camera.3d_printer_camera",
"config": [
{
"name": "3d printer print status",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.3d_printer_print_status",
"device_id": null
}
},
{
"name": "3d printer bed temperature",
"room": "office",
"type": "sensor",
"id": {
"entity_id": "sensor.3d_printer_bed_temperature",
"device_id": null
}
},
{
"name": "3d printer camera",
"room": "office",
"type": "camera",
"id": {
"entity_id": "camera.3d_printer_camera",
"device_id": null
}
}
]
}
]