[ { "id": "b5e8e5f5d19ff734", "type": "tab", "label": "[Light] Entree", "disabled": false, "info": "" }, { "id": "a1d5f6e1.ea9d48", "type": "server", "name": "Home Assistant", "addon": true }, { "id": "4db1a4a2db08f93f", "type": "api-call-service", "z": "b5e8e5f5d19ff734", "name": "All Lights Normal", "server": "a1d5f6e1.ea9d48", "version": 5, "debugenabled": false, "domain": "light", "service": "turn_on", "areaId": [], "deviceId": [ "bc4a1111718a86adec7fc95704be21cd", "b252d11c8cda82cf4ee8b07d9d8f6360", "038b28d7d45f66b748788fe3ef8361d3" ], "entityId": [], "data": "{\"brightness_pct\":100,\"kelvin\":6500}", "dataType": "json", "mergeContext": "", "mustacheAltTags": false, "outputProperties": [], "queue": "none", "target": { "entity_id": [ "light.shellyrgbw_entree_1", "light.shellyrgbw_entree_2", "light.shellyrgbw_entree3" ] }, "service_domain": "light", "mergecontext": "", "x": 510, "y": 120, "wires": [ [] ] }, { "id": "46b8f57388966339", "type": "api-call-service", "z": "b5e8e5f5d19ff734", "name": "Stair Light Dim", "server": "a1d5f6e1.ea9d48", "version": 5, "debugenabled": false, "domain": "light", "service": "turn_on", "areaId": [], "deviceId": [ "c182bb8d6790c29fe4b6b66745c54946" ], "entityId": [], "data": "{\"transition\":1,\"brightness_pct\":30}", "dataType": "json", "mergeContext": "", "mustacheAltTags": false, "outputProperties": [], "queue": "none", "target": { "entity_id": [ "light.shellydimmer_escalier" ] }, "service_domain": "light", "mergecontext": "", "x": 500, "y": 180, "wires": [ [] ] }, { "id": "c411e1470b9a80a5", "type": "api-current-state", "z": "b5e8e5f5d19ff734", "name": "Escalier Motion detected ?", "server": "a1d5f6e1.ea9d48", "version": 3, "outputs": 2, "halt_if": "off", "halt_if_type": "str", "halt_if_compare": "is", "entity_id": "binary_sensor.shellymotion_escalier_motion", "state_type": "str", "blockInputOverrides": false, "outputProperties": [ { "property": "payload", "propertyType": "msg", "value": "", "valueType": "entityState" } ], "for": "", "forType": "num", "x": 200, "y": 200, "wires": [ [ "46b8f57388966339" ], [] ] }, { "id": "c790c687c8a56fe3", "type": "trigger-state", "z": "b5e8e5f5d19ff734", "name": "Motion Detected", "server": "a1d5f6e1.ea9d48", "version": 4, "inputs": 1, "outputs": 2, "exposeAsEntityConfig": "", "entityId": "binary_sensor.shellymotion_entree_motion", "entityIdType": "exact", "debugEnabled": false, "constraints": [ { "targetType": "this_entity", "targetValue": "", "propertyType": "current_state", "propertyValue": "new_state.state", "comparatorType": "is", "comparatorValueDatatype": "str", "comparatorValue": "on" } ], "customOutputs": [], "outputInitially": false, "stateType": "str", "enableInput": true, "x": 160, "y": 120, "wires": [ [ "c411e1470b9a80a5", "4db1a4a2db08f93f" ], [] ] }, { "id": "1e96fc13ddd2d2c0", "type": "ha-tag", "z": "b5e8e5f5d19ff734", "name": "", "server": "a1d5f6e1.ea9d48", "version": 2, "exposeAsEntityConfig": "", "tags": [ "__ALL_TAGS__" ], "devices": [], "outputProperties": [ { "property": "payload", "propertyType": "msg", "value": "", "valueType": "eventData" }, { "property": "topic", "propertyType": "msg", "value": "", "valueType": "triggerId" } ], "x": 210, "y": 240, "wires": [ [ "46b8f57388966339" ] ] } ]