diff --git a/flows.json b/flows.json index 924ad2e..3bbf62d 100644 --- a/flows.json +++ b/flows.json @@ -22303,5 +22303,204 @@ "statusType": "auto", "x": 180, "y": 200 + }, + { + "id": "hllw_goodbye_comment_01", + "type": "comment", + "z": "c19dee9f.e72838", + "name": "Goodbye button", + "wires": [], + "info": "", + "x": 160, + "y": 600 + }, + { + "id": "hllw_goodbye_trigger_01", + "type": "server-state-changed", + "z": "c19dee9f.e72838", + "name": "Goodbye button", + "wires": [ + [ + "hllw_goodbye_espresso_01", + "hllw_goodbye_harmony_01", + "hllw_goodbye_heos_01", + "hllw_goodbye_lights_01" + ] + ], + "server": "657c7463.48e1e4", + "version": 6, + "outputs": 1, + "exposeAsEntityConfig": "", + "entities": { + "entity": [ + "sensor.goodbye_button_action" + ], + "substring": [], + "regex": [] + }, + "outputInitially": false, + "stateType": "str", + "ifState": "", + "ifStateType": "str", + "ifStateOperator": "is", + "outputOnlyOnStateChange": true, + "for": 0, + "forType": "num", + "forUnits": "minutes", + "ignorePrevStateNull": false, + "ignorePrevStateUnknown": false, + "ignorePrevStateUnavailable": false, + "ignoreCurrentStateUnknown": false, + "ignoreCurrentStateUnavailable": false, + "outputProperties": [ + { + "property": "payload", + "propertyType": "msg", + "value": "", + "valueType": "entityState" + }, + { + "property": "data", + "propertyType": "msg", + "value": "", + "valueType": "eventData" + }, + { + "property": "topic", + "propertyType": "msg", + "value": "", + "valueType": "triggerId" + } + ], + "x": 160, + "y": 640 + }, + { + "id": "hllw_goodbye_espresso_01", + "type": "api-call-service", + "z": "c19dee9f.e72838", + "name": "Espresso off", + "wires": [ + [] + ], + "server": "657c7463.48e1e4", + "version": 7, + "debugenabled": false, + "action": "switch.turn_off", + "domain": "switch", + "service": "turn_off", + "floorId": [], + "areaId": [], + "deviceId": [], + "entityId": [ + "switch.espresso_kitchen" + ], + "labelId": [], + "data": "", + "dataType": "jsonata", + "mergeContext": "", + "mustacheAltTags": false, + "outputProperties": [], + "queue": "none", + "blockInputOverrides": false, + "x": 500, + "y": 600 + }, + { + "id": "hllw_goodbye_harmony_01", + "type": "api-call-service", + "z": "c19dee9f.e72838", + "name": "Harmony off", + "wires": [ + [] + ], + "server": "657c7463.48e1e4", + "version": 7, + "debugenabled": false, + "action": "remote.turn_off", + "domain": "remote", + "service": "turn_off", + "floorId": [], + "areaId": [], + "deviceId": [], + "entityId": [ + "remote.living_room" + ], + "labelId": [], + "data": "", + "dataType": "jsonata", + "mergeContext": "", + "mustacheAltTags": false, + "outputProperties": [], + "queue": "none", + "blockInputOverrides": false, + "x": 500, + "y": 640 + }, + { + "id": "hllw_goodbye_heos_01", + "type": "api-call-service", + "z": "c19dee9f.e72838", + "name": "HEOS pause", + "wires": [ + [] + ], + "server": "657c7463.48e1e4", + "version": 7, + "debugenabled": false, + "action": "media_player.media_pause", + "domain": "media_player", + "service": "media_pause", + "floorId": [], + "areaId": [], + "deviceId": [], + "entityId": [ + "media_player.bathroom", + "media_player.bedroom", + "media_player.kitchen" + ], + "labelId": [], + "data": "", + "dataType": "jsonata", + "mergeContext": "", + "mustacheAltTags": false, + "outputProperties": [], + "queue": "none", + "blockInputOverrides": false, + "x": 500, + "y": 680 + }, + { + "id": "hllw_goodbye_lights_01", + "type": "api-call-service", + "z": "c19dee9f.e72838", + "name": "Lights off (LR/BR/Bath)", + "wires": [ + [] + ], + "server": "657c7463.48e1e4", + "version": 7, + "debugenabled": false, + "action": "light.turn_off", + "domain": "light", + "service": "turn_off", + "floorId": [], + "areaId": [], + "deviceId": [], + "entityId": [ + "light.living_room", + "light.bedroom", + "light.bathroom" + ], + "labelId": [], + "data": "", + "dataType": "jsonata", + "mergeContext": "", + "mustacheAltTags": false, + "outputProperties": [], + "queue": "none", + "blockInputOverrides": false, + "x": 500, + "y": 720 } ] \ No newline at end of file