[ { "id": "'1708731951508'", "automation": "- id: '1708731951508'\n alias: 'Bedroom: light toggle'\n description: on and off buttons\n trigger:\n - platform: device\n domain: mqtt\n device_id: 2d884b35ab03df476042bad413c43735\n type: action\n subtype: 'off'\n discovery_id: 0x00158d00017d8933 action_off\n - platform: device\n domain: mqtt\n device_id: 2d884b35ab03df476042bad413c43735\n type: action\n subtype: 'on'\n discovery_id: 0x00158d00017d8933 action_on\n condition: []\n action:\n - type: toggle\n device_id: 440b9c35d7a671b4029e993eed4f13d7\n entity_id: 4bd680da6111470319ea013eaf9d3c49\n domain: light\n mode: single", "config": [ { "name": "bedroom light toggle button", "room": "bedroom", "type": "device", "id": { "entity_id": null, "device_id": "2d884b35ab03df476042bad413c43735" } }, { "name": "bedroom light", "room": "bedroom", "type": "light", "id": { "entity_id": "4bd680da6111470319ea013eaf9d3c49", "device_id": "440b9c35d7a671b4029e993eed4f13d7" } } ] }, { "id": "'1708732021752'", "automation": "- id: '1708732021752'\n alias: 'Bedroom: Brightness up'\n description: ''\n trigger:\n - platform: device\n domain: mqtt\n device_id: 2d884b35ab03df476042bad413c43735\n type: action\n subtype: brightness_step_up\n discovery_id: 0x00158d00017d8933 action_brightness_step_up\n condition: []\n action:\n - device_id: 440b9c35d7a671b4029e993eed4f13d7\n domain: light\n entity_id: 4bd680da6111470319ea013eaf9d3c49\n type: brightness_increase\n mode: single", "config": [ { "name": "bedroom light toggle button", "room": "bedroom", "type": "device", "id": { "entity_id": null, "device_id": "2d884b35ab03df476042bad413c43735" } }, { "name": "bedroom light", "room": "bedroom", "type": "light", "id": { "entity_id": "4bd680da6111470319ea013eaf9d3c49", "device_id": "440b9c35d7a671b4029e993eed4f13d7" } } ] }, { "id": "'1708732048753'", "automation": "- id: '1708732048753'\n alias: 'Bedroom: Brightness down'\n description: ''\n trigger:\n - platform: device\n domain: mqtt\n device_id: 2d884b35ab03df476042bad413c43735\n type: action\n subtype: brightness_step_down\n discovery_id: 0x00158d00017d8933 action_brightness_step_down\n condition: []\n action:\n - device_id: 440b9c35d7a671b4029e993eed4f13d7\n domain: light\n entity_id: 4bd680da6111470319ea013eaf9d3c49\n type: brightness_decrease\n mode: single", "config": [ { "name": "bedroom light toggle button", "room": "bedroom", "type": "device", "id": { "entity_id": null, "device_id": "2d884b35ab03df476042bad413c43735" } }, { "name": "bedroom light", "room": "bedroom", "type": "light", "id": { "entity_id": "4bd680da6111470319ea013eaf9d3c49", "device_id": "440b9c35d7a671b4029e993eed4f13d7" } } ] }, { "id": "'1710933852252'", "automation": "- id: '1710933852252'\n alias: Bathroom light on\n description: ''\n triggers:\n - type: turned_on\n device_id: 30a5f44d3ea49e24b5a47701322d11b3\n entity_id: 02f528a082e5ce1702d35f81f6064528\n domain: switch\n trigger: device\n conditions:\n - type: is_humidity\n condition: device\n device_id: 862869b57ebdd12720567aff0dfc8273\n entity_id: bbd3c354e10ffe48d75cc07380bbb811\n domain: sensor\n above: 55\n actions:\n - delay:\n hours: 0\n minutes: 1\n seconds: 0\n milliseconds: 0\n - if:\n - condition: device\n type: is_on\n device_id: 30a5f44d3ea49e24b5a47701322d11b3\n entity_id: 02f528a082e5ce1702d35f81f6064528\n domain: switch\n then:\n - type: turn_on\n device_id: 30a5f44d3ea49e24b5a47701322d11b3\n entity_id: 8cb52822c9a399a22dbbdae58258894d\n domain: switch\n mode: single", "config": [ { "name": "bathroom switch", "room": "bathroom", "type": "switch", "id": { "entity_id": "02f528a082e5ce1702d35f81f6064528", "device_id": "30a5f44d3ea49e24b5a47701322d11b3" } }, { "name": "bathroom humidity sensor", "room": "bathroom", "type": "sensor", "id": { "entity_id": "bbd3c354e10ffe48d75cc07380bbb811", "device_id": "862869b57ebdd12720567aff0dfc8273" } }, { "name": "bathroom ventilation switch", "room": "bathroom", "type": "switch", "id": { "entity_id": "8cb52822c9a399a22dbbdae58258894d", "device_id": "30a5f44d3ea49e24b5a47701322d11b3" } } ] }, { "id": "'1710933953903'", "automation": "- id: '1710933953903'\n alias: Bathroom light off\n description: ''\n trigger:\n - platform: device\n type: turned_off\n device_id: 30a5f44d3ea49e24b5a47701322d11b3\n entity_id: 02f528a082e5ce1702d35f81f6064528\n domain: switch\n condition: []\n action:\n - service: script.turn_off\n metadata: {}\n data: {}\n target:\n entity_id: script.check_humidity_and_control_ventilation\n - type: turn_off\n device_id: 30a5f44d3ea49e24b5a47701322d11b3\n entity_id: 8cb52822c9a399a22dbbdae58258894d\n domain: switch\n mode: single", "config": [ { "name": "bathroom switch", "room": "bathroom", "type": "switch", "id": { "entity_id": "02f528a082e5ce1702d35f81f6064528", "device_id": "30a5f44d3ea49e24b5a47701322d11b3" } }, { "name": "bathroom ventilation switch", "room": "bathroom", "type": "switch", "id": { "entity_id": "8cb52822c9a399a22dbbdae58258894d", "device_id": "30a5f44d3ea49e24b5a47701322d11b3" } }, { "name": "humidity control script", "room": null, "type": "script", "id": { "entity_id": "script.check_humidity_and_control_ventilation", "device_id": null } }, { "name": "Turn Off Script", "room": null, "type": "script", "id": { "entity_id": "script.turn_off", "device_id": null } } ] }, { "id": "'1710935618258'", "automation": "- id: '1710935618258'\n alias: Bathroom humidity sensor\n description: ''\n triggers:\n - type: humidity\n device_id: 862869b57ebdd12720567aff0dfc8273\n entity_id: bbd3c354e10ffe48d75cc07380bbb811\n domain: sensor\n above: 55\n trigger: device\n conditions:\n - condition: device\n type: is_on\n device_id: 30a5f44d3ea49e24b5a47701322d11b3\n entity_id: 02f528a082e5ce1702d35f81f6064528\n domain: switch\n actions:\n - type: turn_on\n device_id: 30a5f44d3ea49e24b5a47701322d11b3\n entity_id: 8cb52822c9a399a22dbbdae58258894d\n domain: switch\n mode: single", "config": [ { "name": "bathroom switch", "room": "bathroom", "type": "switch", "id": { "entity_id": "02f528a082e5ce1702d35f81f6064528", "device_id": "30a5f44d3ea49e24b5a47701322d11b3" } }, { "name": "bathroom humidity sensor", "room": "bathroom", "type": "sensor", "id": { "entity_id": "bbd3c354e10ffe48d75cc07380bbb811", "device_id": "862869b57ebdd12720567aff0dfc8273" } }, { "name": "bathroom ventilation switch", "room": "bathroom", "type": "switch", "id": { "entity_id": "8cb52822c9a399a22dbbdae58258894d", "device_id": "30a5f44d3ea49e24b5a47701322d11b3" } } ] } ]