<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<data version="1.38.0">
<trigger type="key_event">
<useDefaultName>true</useDefaultName>
<name>Hardware Key Event: F3 Up</name>
<enabled>true</enabled>
<keyList>F3</keyList>
<keyDown>false</keyDown>
<keyUp>true</keyUp>
<blockEvent>false</blockEvent>
</trigger>
<action type="http_request">
<useDefaultName>true</useDefaultName>
<name>HTTP Request: POST https://<HA URL>/api/services/light/turn_off application/json {'{"entity_id": "light.office_light_controller"}'} store in response</name>
<url>https://<HA URL>/api/services/light/turn_off</url>
<verifyCertificates>true</verifyCertificates>
<basicAuthentication>false</basicAuthentication>
<username></username>
<clientCert>false</clientCert>
<clientCertPath></clientCertPath>
<httpMethod>POST</httpMethod>
<networkType>WIFI</networkType>
<httpContentType>GENERAL_TEXT</httpContentType>
<contentType>application/json</contentType>
<generalTextData>{'{"entity_id": "light.office_light_controller"}'}</generalTextData>
<formFieldList>Lastname=XYZ,Firstname=ABC</formFieldList>
<uploadFieldName>upload_field</uploadFieldName>
<uploadFilePath></uploadFilePath>
<binaryContentType>application/octet-stream</binaryContentType>
<binaryFilePath></binaryFilePath>
<timeout>60000</timeout>
<setCustomHTTPHeaders>true</setCustomHTTPHeaders>
<customHTTPHeaders>Authorization: Bearer <API TOKEN></customHTTPHeaders>
<storeInVariable>true</storeInVariable>
<variable>response</variable>
<encoding></encoding>
<path>/storage/emulated/0/Download/file.bin</path>
<followRedirects>true</followRedirects>
<skipConnectivityCheck>false</skipConnectivityCheck>
</action>
<flow type="flow">
<name>Light off</name>
<enabled>true</enabled>
<executionPolicy>PARALLEL</executionPolicy>
<triggercontainer id="t1" x="70.0" y="52.5">
<trigger>Hardware Key Event: F3 Up</trigger>
</triggercontainer>
<actioncontainer id="t2" x="70.0" y="262.5">HTTP Request: POST https://<HA URL>/api/services/light/turn_off application/json {'{"entity_id": "light.office_light_controller"}'} store in response</actioncontainer>
<connection from="t1" to="t2" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
</flow>
</data>
flow_Light_off_20230911_195525.xml