[ { "id": "Bed - alles uit", "automation": "- alias: Bed - alles uit\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - light.mini_smart_wi_fi_plug_2\n from: null\n to: 'on'\n for:\n hours: 0\n minutes: 5\n seconds: 0\n conditions:\n - condition: state\n entity_id: person.kim\n state: home\n actions:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.aqara_smart_wall_switch\n - light.aqara_smart_wall_switch_light_1\n - light.aqara_smart_wall_switch_light_2\n - light.mini_smart_wi_fi_plug\n - action: media_player.turn_off\n metadata: {}\n data: {}\n target:\n entity_id:\n - media_player.lg_webos_tv_oled55c9pla\n - media_player.huiskamerchromecast\n - action: media_player.media_stop\n metadata: {}\n data: {}\n target:\n entity_id: media_player.huiskamer\n - action: notify.mobile_app_sm_s921b\n metadata: {}\n data:\n message: ❤️😴 slaap lekker\n mode: single", "config": [ { "name": "mini smart wi fi plug 2", "room": "bedroom", "type": "light", "id": { "entity_id": "light.mini_smart_wi_fi_plug_2", "device_id": null } }, { "name": "kim person", "room": "home", "type": "person", "id": { "entity_id": "person.kim", "device_id": null } }, { "name": "aqara smart wall switch", "room": "bedroom", "type": "light", "id": { "entity_id": "light.aqara_smart_wall_switch", "device_id": null } }, { "name": "aqara smart wall switch light 1", "room": "bedroom", "type": "light", "id": { "entity_id": "light.aqara_smart_wall_switch_light_1", "device_id": null } }, { "name": "aqara smart wall switch light 2", "room": "bedroom", "type": "light", "id": { "entity_id": "light.aqara_smart_wall_switch_light_2", "device_id": null } }, { "name": "mini smart wi fi plug", "room": "bedroom", "type": "light", "id": { "entity_id": "light.mini_smart_wi_fi_plug", "device_id": null } }, { "name": "lg webos tv oled55c9pla", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.lg_webos_tv_oled55c9pla", "device_id": null } }, { "name": "huiskamer chromecast", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.huiskamerchromecast", "device_id": null } }, { "name": "huiskamer media player", "room": "living_room", "type": "media_player", "id": { "entity_id": "media_player.huiskamer", "device_id": null } }, { "name": "mobile app sm s921b", "room": "bedroom", "type": "notify", "id": { "entity_id": "notify.mobile_app_sm_s921b", "device_id": null } } ] }, { "id": "Na 10 minuten altijd ganglicht uit", "automation": "- alias: Na 10 minuten altijd ganglicht uit\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - input_boolean.ganglicht_aan\n to: 'on'\n for:\n hours: 0\n minutes: 10\n seconds: 0\n conditions: []\n actions:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.aqara_smart_wall_switch\n mode: single", "config": [ { "name": "aqara smart wall switch", "room": "bedroom", "type": "light", "id": { "entity_id": "light.aqara_smart_wall_switch", "device_id": null } }, { "name": "ganglicht aan input boolean", "room": "hallway", "type": "input_boolean", "id": { "entity_id": "input_boolean.ganglicht_aan", "device_id": null } } ] }, { "id": "Reset bedtijd automation at 10am", "automation": "- alias: Reset bedtijd automation at 10am\n description: ''\n triggers:\n - trigger: time\n at: '10:00:00'\n conditions: []\n actions:\n - action: input_boolean.turn_off\n data: {}\n target:\n entity_id: input_boolean.bedtijd_automation_status\n mode: single", "config": [ { "name": "bedtijd automation status", "room": "bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.bedtijd_automation_status", "device_id": null } } ] }, { "id": "Slapen", "automation": "- alias: Slapen\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.sm_s921b_is_charging\n from: null\n to: 'on'\n conditions:\n - condition: state\n entity_id: light.mini_smart_wi_fi_plug_2\n state: 'on'\n actions:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.mini_smart_wi_fi_plug_2\n - action: input_boolean.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: input_boolean.bedtijd_automation_status\n mode: single", "config": [ { "name": "mini smart wi fi plug 2", "room": "bedroom", "type": "light", "id": { "entity_id": "light.mini_smart_wi_fi_plug_2", "device_id": null } }, { "name": "mini smart wi fi plug", "room": "bedroom", "type": "light", "id": { "entity_id": "light.mini_smart_wi_fi_plug", "device_id": null } }, { "name": "bedtijd automation status", "room": "bedroom", "type": "input_boolean", "id": { "entity_id": "input_boolean.bedtijd_automation_status", "device_id": null } }, { "name": "sm s921b charging sensor", "room": "bedroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.sm_s921b_is_charging", "device_id": null } } ] }, { "id": "Sunset", "automation": "- alias: Sunset\n description: ''\n triggers:\n - trigger: sun\n event: sunset\n offset: -00:45:00\n conditions: []\n actions:\n - if:\n - condition: state\n entity_id: person.kim\n state: home\n then:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id:\n - light.aqara_smart_wall_switch_light_1\n - light.mini_smart_wi_fi_plug\n else:\n - action: light.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: light.mini_smart_wi_fi_plug\n mode: single", "config": [ { "name": "kim person", "room": "home", "type": "person", "id": { "entity_id": "person.kim", "device_id": null } }, { "name": "aqara smart wall switch", "room": "bedroom", "type": "light", "id": { "entity_id": "light.aqara_smart_wall_switch", "device_id": null } }, { "name": "aqara smart wall switch light 1", "room": "bedroom", "type": "light", "id": { "entity_id": "light.aqara_smart_wall_switch_light_1", "device_id": null } }, { "name": "mini smart wi fi plug", "room": "bedroom", "type": "light", "id": { "entity_id": "light.mini_smart_wi_fi_plug", "device_id": null } } ] }, { "id": "'Wc '", "automation": "- alias: 'Wc '\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - binary_sensor.pir_sensor_occupancy\n from: null\n to: null\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: binary_sensor.pir_sensor_occupancy\n state: 'on'\n sequence:\n - action: light.turn_on\n metadata: {}\n data:\n rgb_color:\n - 255\n - 255\n - 0\n target:\n entity_id: light.smart_rgbtw_bulb\n - conditions:\n - condition: state\n entity_id: binary_sensor.pir_sensor_occupancy\n state: 'off'\n for:\n hours: 0\n minutes: 2\n seconds: 0\n sequence:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.smart_rgbtw_bulb\n mode: single", "config": [ { "name": "pir sensor occupancy", "room": "bathroom", "type": "binary_sensor", "id": { "entity_id": "binary_sensor.pir_sensor_occupancy", "device_id": null } }, { "name": "smart rgbtw bulb", "room": "bathroom", "type": "light", "id": { "entity_id": "light.smart_rgbtw_bulb", "device_id": null } } ] }, { "id": "Wifi connected", "automation": "- alias: Wifi connected\n description: ''\n triggers:\n - entity_id: sensor.androidphone_wi_fi_connection\n trigger: state\n actions:\n - choose:\n - conditions:\n - condition: template\n value_template: '{{ ''name of wifi network at home'' in states(''sensor.androidphone_wi_fi_connection'')\n }}'\n sequence:\n - data:\n topic: location/person_wifi\n payload: home\n retain: true\n action: mqtt.publish\n default:\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - condition: template\n value_template: '{{ ''name of wifi network at home'' not in states(''sensor.androidphone_wi_fi_connection'')\n }}'\n - data:\n topic: location/person_wifi\n payload: not_home\n retain: true\n action: mqtt.publish", "config": [ { "name": "androidphone wi fi connection", "room": "home", "type": "sensor", "id": { "entity_id": "sensor.androidphone_wi_fi_connection", "device_id": null } } ] } ]