[ { "id": "'1747288071056'", "automation": "- id: '1747288071056'\n alias: Sunrise\n description: ''\n triggers:\n - trigger: sun\n event: sunrise\n offset: -00:30:00\n conditions:\n - condition: template\n value_template: '{% set sunrise = state_attr(''sun.sun'', ''next_rising'') | as_datetime\n %}\n\n {{ sunrise.hour < 7 or (sunrise.hour == 7 and sunrise.minute == 0) }}'\n actions:\n - action: light.turn_on\n target:\n entity_id: light.desk_bedroom_lamp\n data:\n transition: 3600\n brightness_pct: 50\n mode: single", "config": [ { "name": "desk bedroom lamp", "room": "bedroom", "type": "light", "id": { "entity_id": "light.desk_bedroom_lamp", "device_id": null } }, { "name": "sun sun", "room": null, "type": "sun", "id": { "entity_id": "sun.sun", "device_id": null } } ] }, { "id": "'1748298008560'", "automation": "- id: '1748298008560'\n alias: Welcome home\n description: ''\n triggers:\n - trigger: zone\n entity_id: device_tracker.skysphone\n zone: zone.home\n event: enter\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: sun\n after: sunset\n before: sunrise\n sequence:\n - action: light.turn_on\n metadata: {}\n data:\n brightness_pct: 50\n target:\n entity_id: light.front_porch_light\n - delay:\n hours: 0\n minutes: 5\n seconds: 0\n milliseconds: 0\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.front_porch_light\n - action: notify.mobile_app_skysphone\n metadata: {}\n data:\n message: light turned off for you\n default:\n - action: notify.mobile_app_skysphone\n metadata: {}\n data:\n message: light not on for you\n mode: single", "config": [ { "name": "front porch light", "room": "porch", "type": "light", "id": { "entity_id": "light.front_porch_light", "device_id": null } }, { "name": "skysphone device tracker", "room": null, "type": "device_tracker", "id": { "entity_id": "device_tracker.skysphone", "device_id": null } }, { "name": "mobile app skysphone", "room": null, "type": "notify", "id": { "entity_id": "notify.mobile_app_skysphone", "device_id": null } }, { "name": "home zone", "room": null, "type": "zone", "id": { "entity_id": "zone.home", "device_id": null } } ] }, { "id": "'1749093107860'", "automation": "- id: '1749093107860'\n alias: Sunrise lamp off\n description: ''\n triggers:\n - trigger: time\n at: 08:00:00\n conditions: []\n actions:\n - action: light.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: light.desk_bedroom_lamp\n mode: single", "config": [ { "name": "desk bedroom lamp", "room": "bedroom", "type": "light", "id": { "entity_id": "light.desk_bedroom_lamp", "device_id": null } } ] } ]