Hi everyone,
I’m trying to collect data from a sensor that is periodically transmitted via a webhook. I have created an automation to link the webhook to, but I am unsure of the best way to store the data. It feels like I should be using a “Webhook Sensor” rather than an automation, but there isn’t one, as far as I am aware.
My current approach is to use input numbers ( yet to get it working ), but is there a better way to achieve what I am after? Can I use a template sensor somehow?
# in automation.yaml
- alias: brew_brewfather_wh
trigger:
platform: webhook
webhook_id: wh_ispindel
action:
- service: input_number.set_value
data_template:
entity_id: input_number.brew_ispindel_temp
value: "{{ trigger.data.temp }}"
Thanks in advance for any help!
Cheers,
Michael.
1 post - 1 participant