Open Bagunda opened 2 years ago
I found the answer. Thanx.
In configuration.yaml:
input_number:
slider1:
name: Slider
initial: 0
min: 0
max: 65535
step: 1
box1:
name: Numeric Input Box
initial: 0
min: 0
max: 65535
step: 1
mode: box
crestron:
port: 16384
from_joins:
- join: a1
script:
service: input_number.set_value
data:
entity_id: input_number.slider1
value: "{{value|int}}"
- join: a2
script:
service: input_number.set_value
data:
entity_id: input_number.box1
value: "{{value|int}}"
In SIMPL Windows:
Why can't my control system connect to ha
Copy all files from this repo to /config/custom_components/crestron
In configuration.yaml:
input_number:
slider1:
name: Slider
initial: 0
min: 0
max: 65535
step: 1
box1:
name: Numeric Input Box
initial: 0
min: 0
max: 65535
step: 1
mode: box
crestron:
port: 16384
from_joins:
- join: a1
script:
service: input_number.set_value
data:
entity_id: input_number.slider1
value: "{{value|int}}"
- join: a2
script:
service: input_number.set_value
data:
entity_id: input_number.box1
value: "{{value|int}}"
Then Reboot Home Assistant.
In Crestron see my pic above. In Crestron TCP/IP_Client dont forget IP addres to Home Assistant (becouse HA - is TCP/IP server), and port.
Please show an example - how to take an analog join into a number in Home Assistant.