666 lines
27 KiB
JSON
666 lines
27 KiB
JSON
[
|
|
{
|
|
"id": "'1687322185169'",
|
|
"automation": "- id: '1687322185169'\n alias: Turn off air purifier\n description: ''\n trigger:\n - platform: time\n at: 09:00:00\n condition: []\n action:\n - type: turn_off\n device_id: a974d5ae993c3a8ac8fe4b666c2ff223\n entity_id: fan.mi_air_purifier_3h\n domain: fan\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "mi air purifier 3h",
|
|
"room": null,
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.mi_air_purifier_3h",
|
|
"device_id": "a974d5ae993c3a8ac8fe4b666c2ff223"
|
|
}
|
|
},
|
|
{
|
|
"name": "office air purifier",
|
|
"room": "office",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "a46393b355794e72b229815d644cf743",
|
|
"device_id": "a974d5ae993c3a8ac8fe4b666c2ff223"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1687322354221'",
|
|
"automation": "- id: '1687322354221'\n alias: Turn on Air Purifier\n description: Before bed\n trigger:\n - platform: time\n at: '22:00:00'\n condition:\n - condition: or\n conditions:\n - condition: zone\n entity_id: person.martin_madsen\n zone: zone.home\n - condition: zone\n entity_id: person.nandar\n zone: zone.home\n action:\n - type: turn_on\n device_id: a974d5ae993c3a8ac8fe4b666c2ff223\n entity_id: fan.mi_air_purifier_3h\n domain: fan\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "mi air purifier 3h",
|
|
"room": null,
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.mi_air_purifier_3h",
|
|
"device_id": "a974d5ae993c3a8ac8fe4b666c2ff223"
|
|
}
|
|
},
|
|
{
|
|
"name": "martin madsen",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.martin_madsen",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nandar",
|
|
"room": null,
|
|
"type": "person",
|
|
"id": {
|
|
"entity_id": "person.nandar",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "home zone",
|
|
"room": null,
|
|
"type": "zone",
|
|
"id": {
|
|
"entity_id": "zone.home",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office air purifier",
|
|
"room": "office",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "a46393b355794e72b229815d644cf743",
|
|
"device_id": "a974d5ae993c3a8ac8fe4b666c2ff223"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1687613174907'",
|
|
"automation": "- id: '1687613174907'\n alias: Plex off lights when watching tv at night\n description: ''\n trigger:\n - platform: device\n device_id: f196d9f15d0b393d82a9b7945b6cc269\n domain: media_player\n entity_id: e1137ef10ecb8f6ba5e2d71968e84f8d\n type: playing\n condition:\n - condition: sun\n after: sunset\n after_offset: -01:00:00\n action:\n - service: light.turn_off\n data:\n transition: 10\n target:\n area_id: living_room\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "media player device",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "e1137ef10ecb8f6ba5e2d71968e84f8d",
|
|
"device_id": "f196d9f15d0b393d82a9b7945b6cc269"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1687613224875'",
|
|
"automation": "- id: '1687613224875'\n alias: Plex Movie paused at night\n description: ''\n trigger:\n - platform: device\n device_id: f196d9f15d0b393d82a9b7945b6cc269\n domain: media_player\n entity_id: e1137ef10ecb8f6ba5e2d71968e84f8d\n type: paused\n condition:\n - condition: sun\n after: sunset\n after_offset: -01:00:00\n action:\n - target:\n entity_id: scene.watching_tv\n metadata: {}\n action: scene.turn_on\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "media player device",
|
|
"room": "living_room",
|
|
"type": "media_player",
|
|
"id": {
|
|
"entity_id": "e1137ef10ecb8f6ba5e2d71968e84f8d",
|
|
"device_id": "f196d9f15d0b393d82a9b7945b6cc269"
|
|
}
|
|
},
|
|
{
|
|
"name": "watching tv scene",
|
|
"room": "living_room",
|
|
"type": "scene",
|
|
"id": {
|
|
"entity_id": "scene.watching_tv",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694783062795'",
|
|
"automation": "- id: '1694783062795'\n alias: Hue Dimmer Nandar Laptop WOL\n description: WOL integration to turn on Nandar's laptop via Hue Dimmer switch\n trigger:\n - platform: device\n domain: mqtt\n device_id: 04229db32395a8222ce78362a5da4c8b\n type: action\n subtype: up-hold\n condition: []\n action:\n - parallel:\n - data: {}\n target:\n entity_id: switch.nandar_work_laptop\n action: switch.turn_on\n - data: {}\n target:\n entity_id: switch.nandar_work_laptop_wifi\n action: switch.turn_on\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hue dimmer switch",
|
|
"room": "living_room",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "04229db32395a8222ce78362a5da4c8b"
|
|
}
|
|
},
|
|
{
|
|
"name": "nandar work laptop",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.nandar_work_laptop",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nandar work laptop wifi",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.nandar_work_laptop_wifi",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694784402214'",
|
|
"automation": "- id: '1694784402214'\n alias: Hue Dimmer Turn on living room\n description: Living room lights\n trigger:\n - platform: device\n domain: mqtt\n device_id: 04229db32395a8222ce78362a5da4c8b\n type: action\n subtype: on_press\n condition: []\n action:\n - action: light.toggle\n data: {}\n target:\n area_id: living_room\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hue dimmer switch",
|
|
"room": "living_room",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "04229db32395a8222ce78362a5da4c8b"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694784530273'",
|
|
"automation": "- id: '1694784530273'\n alias: Hue Dimmer turn off living room\n description: Living room lights\n trigger:\n - platform: device\n domain: mqtt\n device_id: 04229db32395a8222ce78362a5da4c8b\n type: action\n subtype: off_press\n condition: []\n action:\n - data: {}\n target:\n area_id: living_room\n action: light.turn_off\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hue dimmer switch",
|
|
"room": "living_room",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "04229db32395a8222ce78362a5da4c8b"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694785112288'",
|
|
"automation": "- id: '1694785112288'\n alias: 'Adaptive lighting: reset manual_control after 1 hour'\n description: 'Source: https://github.com/basnijholt/adaptive-lighting/tree/5cd060a37c2cdad3c7e266b937dc50e4b1c79711#robot-automation-examples'\n trigger:\n platform: event\n event_type: adaptive_lighting.manual_control\n action:\n - delay: 01:00:00\n - condition: template\n value_template: '{{ light in state_attr(switch, ''manual_control'') }}'\n - service: adaptive_lighting.set_manual_control\n data:\n entity_id: '{{ switch }}'\n lights: '{{ light }}'\n manual_control: false\n mode: parallel\n variables:\n light: '{{ trigger.event.data.entity_id }}'\n switch: '{{ trigger.event.data.switch }}'",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1694785300713'",
|
|
"automation": "- id: '1694785300713'\n alias: 'Hue Dimmer: Increase brightness'\n description: ''\n trigger:\n - platform: device\n domain: mqtt\n device_id: 04229db32395a8222ce78362a5da4c8b\n type: action\n subtype: up_press\n condition: []\n action:\n - data:\n manual_control: true\n entity_id: switch.adaptive_lighting_living_room\n action: adaptive_lighting.set_manual_control\n enabled: false\n - data:\n brightness_step_pct: 20\n transition: 2\n target:\n area_id: living_room\n action: light.turn_on\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hue dimmer switch",
|
|
"room": "living_room",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "04229db32395a8222ce78362a5da4c8b"
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting living room",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_living_room",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1694785348532'",
|
|
"automation": "- id: '1694785348532'\n alias: 'Hue Dimmer: Decrease brightness'\n description: ''\n trigger:\n - platform: device\n domain: mqtt\n device_id: 04229db32395a8222ce78362a5da4c8b\n type: action\n subtype: down_press\n condition: []\n action:\n - data:\n brightness_step_pct: -20\n transition: 2\n target:\n area_id: living_room\n action: light.turn_on\n - data:\n manual_control: true\n entity_id: switch.adaptive_lighting_living_room\n action: adaptive_lighting.set_manual_control\n enabled: false\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hue dimmer switch",
|
|
"room": "living_room",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "04229db32395a8222ce78362a5da4c8b"
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting living room",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_living_room",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1704424867342'",
|
|
"automation": "- id: '1704424867342'\n alias: Aranet low battery notification\n description: Notify on low battery\n trigger:\n - type: battery_level\n platform: device\n device_id: 4d9c607685d2fb9bf51b4c55ab3c1a50\n entity_id: 8cbb96637c2ea92e52ad0b387bf1c7b6\n domain: sensor\n below: 10\n for:\n hours: 0\n minutes: 2\n seconds: 0\n condition: []\n action:\n - service: notify.mobile_app_dagobah\n metadata: {}\n data:\n message: Aranet battery is below 10%\n title: Aranet battery low\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "aranet sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "8cbb96637c2ea92e52ad0b387bf1c7b6",
|
|
"device_id": "4d9c607685d2fb9bf51b4c55ab3c1a50"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1709210255854'",
|
|
"automation": "- id: '1709210255854'\n alias: Longfan Oscilate after turn on\n description: ''\n trigger:\n - platform: state\n entity_id:\n - switch.longfan\n condition: []\n action:\n - service: script.longfan_oscillate\n metadata: {}\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "longfan",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.longfan",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Longfan Oscillate Script",
|
|
"room": null,
|
|
"type": "script",
|
|
"id": {
|
|
"entity_id": "script.longfan_oscillate",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1724334337502'",
|
|
"automation": "- id: '1724334337502'\n alias: Apply adaptive lighting\n description: Living room lights\n trigger:\n - platform: device\n domain: mqtt\n device_id: 04229db32395a8222ce78362a5da4c8b\n type: action\n subtype: on-hold\n condition: []\n action:\n - action: adaptive_lighting.apply\n metadata: {}\n data:\n adapt_color: true\n adapt_brightness: true\n turn_on_lights: true\n lights:\n - light.hue_living_room_filament_bulb\n - light.hue_living_room_light_strip\n - light.hue_living_room_white_bulb\n entity_id: switch.adaptive_lighting_living_room\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "hue dimmer switch",
|
|
"room": "living_room",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "04229db32395a8222ce78362a5da4c8b"
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting living room",
|
|
"room": "living_room",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_living_room",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hue living room filament bulb",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hue_living_room_filament_bulb",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hue living room light strip",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hue_living_room_light_strip",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hue living room white bulb",
|
|
"room": "living_room",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hue_living_room_white_bulb",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1724497467298'",
|
|
"automation": "- id: '1724497467298'\n alias: 'Bedroom Dimmer: Turn on'\n description: Beroom lights\n trigger:\n - platform: device\n domain: mqtt\n device_id: 11fe4eb3d9903045257bbbed8af16b4a\n type: action\n subtype: on_press\n condition: []\n action:\n - if:\n - condition: time\n after: '21:00:00'\n then:\n - action: switch.turn_on\n metadata: {}\n data: {}\n target:\n entity_id: switch.adaptive_lighting_sleep_mode_bedroom\n enabled: false\n - action: light.toggle\n target:\n entity_id:\n - light.bedroom_lights\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom dimmer switch",
|
|
"room": "bedroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "11fe4eb3d9903045257bbbed8af16b4a"
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting sleep mode bedroom",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom lights",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bedroom_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1724497757357'",
|
|
"automation": "- id: '1724497757357'\n alias: 'Hue Dimmer: Turn off bedroom lights'\n description: ''\n trigger:\n - platform: device\n domain: mqtt\n device_id: 11fe4eb3d9903045257bbbed8af16b4a\n type: action\n subtype: off_press\n condition: []\n action:\n - data: {}\n action: light.turn_off\n target:\n entity_id: light.bedroom_lights\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom dimmer switch",
|
|
"room": "bedroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "11fe4eb3d9903045257bbbed8af16b4a"
|
|
}
|
|
},
|
|
{
|
|
"name": "bedroom lights",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.bedroom_lights",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1724497874059'",
|
|
"automation": "- id: '1724497874059'\n alias: Bedroom turn down brightness\n description: ''\n trigger:\n - platform: device\n domain: mqtt\n device_id: 11fe4eb3d9903045257bbbed8af16b4a\n type: action\n subtype: down_press\n condition: []\n action:\n - data:\n brightness_step_pct: -20\n transition: 2\n target:\n area_id: living_room\n action: light.turn_on\n - data:\n manual_control: true\n entity_id: switch.adaptive_lighting_bedroom\n action: adaptive_lighting.set_manual_control\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom dimmer switch",
|
|
"room": "bedroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "11fe4eb3d9903045257bbbed8af16b4a"
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting bedroom",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_bedroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1724497930665'",
|
|
"automation": "- id: '1724497930665'\n alias: Bedroom increase brightness\n description: ''\n trigger:\n - platform: device\n domain: mqtt\n device_id: 11fe4eb3d9903045257bbbed8af16b4a\n type: action\n subtype: up_press\n condition: []\n action:\n - data:\n manual_control: true\n entity_id: switch.adaptive_lighting_bedroom\n action: adaptive_lighting.set_manual_control\n - data:\n brightness_step_pct: 20\n transition: 2\n action: light.turn_on\n target:\n area_id: bedroom\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom dimmer switch",
|
|
"room": "bedroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "11fe4eb3d9903045257bbbed8af16b4a"
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting bedroom",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_bedroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1724629229771'",
|
|
"automation": "- id: '1724629229771'\n alias: Turn off sleep mode when sun rises\n description: ''\n trigger:\n - platform: sun\n event: sunrise\n offset: 0\n condition: []\n action:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.adaptive_lighting_sleep_mode_bedroom\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "adaptive lighting sleep mode bedroom",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_sleep_mode_bedroom",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1724677054506'",
|
|
"automation": "- id: '1724677054506'\n alias: Apply adaptive-lighting Bedroom\n description: Bedroom room lights\n trigger:\n - platform: device\n domain: mqtt\n device_id: 11fe4eb3d9903045257bbbed8af16b4a\n type: action\n subtype: on_hold\n condition: []\n action:\n - action: adaptive_lighting.apply\n metadata: {}\n data:\n adapt_color: true\n adapt_brightness: true\n turn_on_lights: true\n lights:\n - light.hue_bedroom_light_strip\n - light.hue_martin_side\n - light.hue_nandar_side_lamp\n entity_id: switch.adaptive_lighting_bedroom\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "bedroom dimmer switch",
|
|
"room": "bedroom",
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "11fe4eb3d9903045257bbbed8af16b4a"
|
|
}
|
|
},
|
|
{
|
|
"name": "adaptive lighting bedroom",
|
|
"room": "bedroom",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.adaptive_lighting_bedroom",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hue bedroom light strip",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hue_bedroom_light_strip",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hue martin side",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hue_martin_side",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "hue nandar side lamp",
|
|
"room": "bedroom",
|
|
"type": "light",
|
|
"id": {
|
|
"entity_id": "light.hue_nandar_side_lamp",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1727478901057'",
|
|
"automation": "- id: '1727478901057'\n alias: Backup configuration\n description: ''\n trigger:\n - platform: time\n at: 01:00:00\n condition: []\n action:\n - action: backup.create\n metadata: {}\n data: {}\n mode: single",
|
|
"config": []
|
|
},
|
|
{
|
|
"id": "'1727673306499'",
|
|
"automation": "- id: '1727673306499'\n alias: Adguard Home re-enable protection\n description: ''\n trigger:\n - platform: device\n type: turned_off\n device_id: 01e54bbfb54d47bf1c8fd90f8c19b1aa\n entity_id: 87e151a8d51720b2ace6a8e9cc5b56e1\n domain: switch\n condition: []\n action:\n - delay:\n hours: 2\n minutes: 0\n seconds: 0\n milliseconds: 0\n - type: turn_on\n device_id: 01e54bbfb54d47bf1c8fd90f8c19b1aa\n entity_id: 87e151a8d51720b2ace6a8e9cc5b56e1\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "adguard switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "87e151a8d51720b2ace6a8e9cc5b56e1",
|
|
"device_id": "01e54bbfb54d47bf1c8fd90f8c19b1aa"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1727673671554'",
|
|
"automation": "- id: '1727673671554'\n alias: AdGuard Protection On\n description: ''\n trigger:\n - platform: device\n type: turned_on\n device_id: 01e54bbfb54d47bf1c8fd90f8c19b1aa\n entity_id: 87e151a8d51720b2ace6a8e9cc5b56e1\n domain: switch\n condition: []\n action:\n - type: turn_on\n device_id: ca4923919fa9ac181bc629a20ad6b7b0\n entity_id: 1d947504c00931fd8b19e2ae28c28b66\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "adguard switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "87e151a8d51720b2ace6a8e9cc5b56e1",
|
|
"device_id": "01e54bbfb54d47bf1c8fd90f8c19b1aa"
|
|
}
|
|
},
|
|
{
|
|
"name": "adguard protection switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "1d947504c00931fd8b19e2ae28c28b66",
|
|
"device_id": "ca4923919fa9ac181bc629a20ad6b7b0"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1727673692327'",
|
|
"automation": "- id: '1727673692327'\n alias: AdGuard Protection Off\n description: ''\n trigger:\n - platform: device\n type: turned_off\n device_id: 01e54bbfb54d47bf1c8fd90f8c19b1aa\n entity_id: 87e151a8d51720b2ace6a8e9cc5b56e1\n domain: switch\n condition: []\n action:\n - type: turn_off\n device_id: ca4923919fa9ac181bc629a20ad6b7b0\n entity_id: 1d947504c00931fd8b19e2ae28c28b66\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "adguard switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "87e151a8d51720b2ace6a8e9cc5b56e1",
|
|
"device_id": "01e54bbfb54d47bf1c8fd90f8c19b1aa"
|
|
}
|
|
},
|
|
{
|
|
"name": "adguard protection switch",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "1d947504c00931fd8b19e2ae28c28b66",
|
|
"device_id": "ca4923919fa9ac181bc629a20ad6b7b0"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1728990137117'",
|
|
"automation": "- id: '1728990137117'\n alias: Outside water flowing notification\n description: To catch any leaks\n triggers:\n - type: value\n device_id: fb1b4a5297db45ef6fb5f7f910ae8c83\n entity_id: e6dcbc82e9d4165a7b511a0e8fbcf3c6\n domain: sensor\n trigger: device\n above: 0\n conditions: []\n actions:\n - action: notify.martin_s_devices\n metadata: {}\n data:\n title: Water flowing in valve\n message: Valve was turned on and is flowing\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "water flow sensor",
|
|
"room": "outside",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "e6dcbc82e9d4165a7b511a0e8fbcf3c6",
|
|
"device_id": "fb1b4a5297db45ef6fb5f7f910ae8c83"
|
|
}
|
|
},
|
|
{
|
|
"name": "water valve switch",
|
|
"room": "outside",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "ea62c05b6e5050ddfe2adf567499a31b",
|
|
"device_id": "fb1b4a5297db45ef6fb5f7f910ae8c83"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1729301727323'",
|
|
"automation": "- id: '1729301727323'\n alias: Turn off water valve automatically\n description: To make sure we don't accidentally leave it open and cause leaks\n triggers:\n - type: turned_on\n device_id: fb1b4a5297db45ef6fb5f7f910ae8c83\n entity_id: ea62c05b6e5050ddfe2adf567499a31b\n domain: switch\n trigger: device\n for:\n hours: 0\n minutes: 30\n seconds: 0\n conditions: []\n actions:\n - type: turn_off\n device_id: fb1b4a5297db45ef6fb5f7f910ae8c83\n entity_id: ea62c05b6e5050ddfe2adf567499a31b\n domain: switch\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "water flow sensor",
|
|
"room": "outside",
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "e6dcbc82e9d4165a7b511a0e8fbcf3c6",
|
|
"device_id": "fb1b4a5297db45ef6fb5f7f910ae8c83"
|
|
}
|
|
},
|
|
{
|
|
"name": "water valve switch",
|
|
"room": "outside",
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "ea62c05b6e5050ddfe2adf567499a31b",
|
|
"device_id": "fb1b4a5297db45ef6fb5f7f910ae8c83"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1729319892883'",
|
|
"automation": "- id: '1729319892883'\n alias: Turn on Air Purifier when someone in office\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - device_tracker.nandar_gigabyte_laptop\n - device_tracker.nandar_s_gigabyte_laptop\n to: home\n conditions: []\n actions:\n - type: turn_on\n device_id: a974d5ae993c3a8ac8fe4b666c2ff223\n entity_id: a46393b355794e72b229815d644cf743\n domain: fan\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "mi air purifier 3h",
|
|
"room": null,
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "fan.mi_air_purifier_3h",
|
|
"device_id": "a974d5ae993c3a8ac8fe4b666c2ff223"
|
|
}
|
|
},
|
|
{
|
|
"name": "nandar gigabyte laptop tracker",
|
|
"room": "office",
|
|
"type": "device_tracker",
|
|
"id": {
|
|
"entity_id": "device_tracker.nandar_gigabyte_laptop",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "nandar s gigabyte laptop tracker",
|
|
"room": "office",
|
|
"type": "device_tracker",
|
|
"id": {
|
|
"entity_id": "device_tracker.nandar_s_gigabyte_laptop",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "office air purifier",
|
|
"room": "office",
|
|
"type": "fan",
|
|
"id": {
|
|
"entity_id": "a46393b355794e72b229815d644cf743",
|
|
"device_id": "a974d5ae993c3a8ac8fe4b666c2ff223"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "'1729426288351'",
|
|
"automation": "- id: '1729426288351'\n alias: Restart zigbee2mqtt\n description: Otherwise it seems to randomly bug out\n triggers:\n - trigger: time\n at: 00:00:00\n conditions: []\n actions:\n - action: switch.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: switch.docker_zigbee2mqtt\n - delay:\n hours: 0\n minutes: 0\n seconds: 30\n milliseconds: 0\n - action: switch.turn_on\n target:\n entity_id:\n - switch.docker_zigbee2mqtt\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "docker zigbee2mqtt",
|
|
"room": null,
|
|
"type": "switch",
|
|
"id": {
|
|
"entity_id": "switch.docker_zigbee2mqtt",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |