I am trying to add an integration for the Delta VoiceIQ faucet.
I cam across an example for YAML configuration but I don’t know where to add a real values for the
delta_device_id and delta_token in the example below (I do have a real values for these parameters):
input_text:
delta_device_id:
name: delta_device_id
initial: !secret delta_device_id
rest_command:
delta_dispense_mills:
method: POST
url: >
https://device.legacy.deltafaucet.com/api/device/dispense?deviceId={{states.input_text.delta_device_id.state}}&milliliters={{mililiters}}
headers:
Authorization: !secret delta_token
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Referer: https://device.legacy.deltafaucet.com/
delta_toggle:
method: POST
url: >
https://device.legacy.deltafaucet.com/api/device/toggleWater?deviceId={{states.input_text.delta_device_id.state}}
headers:
Authorization: !secret delta_token
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Referer: https://device.legacy.deltafaucet.com/
Any help and advice is very welcome.