DaveStLou Posted February 13, 2023 Posted February 13, 2023 I'm a long time ISY user but just recently set up HA. I see there has been a lot of changes in the variable integration but since I'm just setting up HA, I am getting lost. I want to set a ISY variable to a value based on HA sensor.outTemp. I've created an automation but can't figure out the syntax for updating the value. This newbie would appreciate any help or direction you can give. Thanks!
Mecheng70 Posted February 14, 2023 Posted February 14, 2023 (edited) On mobile. You need to use the number set call service. Before you try it: 1. make sure that you have enabled "adding variable entities" in the configure panel of the integration. 2. In the integration panel select the entities and enable them. They are disabled by default. You can select which ones to enable. 3. Use the Number Set call service and select the entity. Edited February 14, 2023 by Mecheng70 Updated with images for clarity 1
shbatm Posted February 14, 2023 Posted February 14, 2023 15 hours ago, DaveStLou said: I want to set a ISY variable to a value based on HA sensor.outTemp. Assuming you're trying to set the variable to the value of the sensor: use a template for the value: "{{ states('sensor.outTemp') }}" 1
DaveStLou Posted February 14, 2023 Author Posted February 14, 2023 11 hours ago, Mecheng70 said: On mobile. You need to use the number set call service. Before you try it: 1. make sure that you have enabled "adding variable entities" in the configure panel of the integration. I think I'm on the current version but the only option I see under configuration is Restore Light Brightness.
Mecheng70 Posted February 14, 2023 Posted February 14, 2023 4 minutes ago, DaveStLou said: I think I'm on the current version but the only option I see under configuration is Restore Light Brightness. What HA version are you running?
DaveStLou Posted February 14, 2023 Author Posted February 14, 2023 Home Assistant 2023.2.4 Supervisor 2023.01.1 Operating System 9.5 Frontend 20230202.0 - latest
Mecheng70 Posted February 14, 2023 Posted February 14, 2023 5 minutes ago, DaveStLou said: Home Assistant 2023.2.4 Supervisor 2023.01.1 Operating System 9.5 Frontend 20230202.0 - latest @shbatm may have to jump on here. I thought it was rolled out in 2023.2.X. Curious, Do you have the HACS install of Universal Devices? Or just the Addon?
MrBill Posted February 14, 2023 Posted February 14, 2023 @DaveStLou Here is where I''m doing essentially exactly what you're attempting.... It's easier to do the value with yaml that the gui... Make sure the receiving ISY variable is configured for the correct number of decimal places. 1
shbatm Posted February 14, 2023 Posted February 14, 2023 (edited) 1 hour ago, DaveStLou said: Home Assistant 2023.2.4 Supervisor 2023.01.1 Operating System 9.5 Frontend 20230202.0 - latest You're in the right spot, you already have the variables exposed. The additional configuration options @mecheng70 is referring to are just for the alpha test version, you don't need to worry about that. @MrBill above gave a good example. Edited February 14, 2023 by shbatm
DaveStLou Posted February 15, 2023 Author Posted February 15, 2023 Thanks all! I'm in business. Really appreciate the help from all of you.
Recommended Posts