<?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: F2 Up</name>
    <enabled>true</enabled>
    <keyList>F2</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_on application/json {'{"entity_id":"light.office_light_controller","effect":"solid","brightness":"102","rgb_color":[255,255,255]}'} store in response</name>
    <url>https://<HA URL>/api/services/light/turn_on</url>
    <verifyCertificates>true</verifyCertificates>
    <basicAuthentication>false</basicAuthentication>
    <username></username>
    <clientCert>false</clientCert>
    <clientCertPath></clientCertPath>
    <httpMethod>POST</httpMethod>
    <networkType>DEFAULT</networkType>
    <httpContentType>GENERAL_TEXT</httpContentType>
    <contentType>application/json</contentType>
    <generalTextData>{'{"entity_id":"light.office_light_controller","effect":"solid","brightness":"102","rgb_color":[255,255,255]}'}</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 on</name>
    <enabled>true</enabled>
    <executionPolicy>PARALLEL</executionPolicy>
    <triggercontainer id="t1" x="70.0" y="52.5">
      <trigger>Hardware Key Event: F2 Up</trigger>
    </triggercontainer>
    <actioncontainer id="t2" x="70.0" y="262.5">HTTP Request: POST https://<HA URL>/api/services/light/turn_on application/json {'{"entity_id":"light.office_light_controller","effect":"solid","brightness":"102","rgb_color":[255,255,255]}'} store in response</actioncontainer>
    <connection from="t1" to="t2" type="NORMAL" sourcePosition="SOUTH" targetPosition="NORTH" />
  </flow>
</data>
flow_Light_on_20230911_195553.xml