Newbie, can’t get my head around this.
I am using this numberbox card from htmltiger.
type: custom:numberbox-card
border: true
entity: input_number.box1
name: PWM
And I have defined input number for it.
input_number:
box1:
name: “Numeric Input Box”
initial: 30
min: 0
max: 100
step: 1
mode: box
My issue is now that I want to send / publish the box1 value each time it is changed.
I have not been able to figure out where / how to add the call for the mqtt.publish service.
And how do I send it in json format
service: mqtt.publish
service_data:
topic: /skorsten_vent/commands
payload: xxx
1 post - 1 participant