Guest User

Untitled

a guest
Jul 24th, 2023
1,421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. These need to be put in to Home Assistant as helpers so the script can both
  2. read the values for calculations and write the new value to them. Then,
  3. these helpers will be used with other automations to control RGBCW lights
  4. separately from the main knob control automation.
  5.  
  6. I chose to use helpers this way because it allows me to sync other automations
  7. I have and make sure everything is reading the same values, if I want them to.
  8.  
  9.  
  10.  
  11. -----input.number helpers-----
  12.  
  13. input_number.kitchen_rgb_mode (set range=0-4)
  14. input_number.kitchen_rgb_temperature (set range=2000-6500)
  15. input_number.kitchen_rgb_brightness (set range=0-255)
  16. input_number.kitchen_rgb_track (set range=0-1530)
  17.  
  18. ------------------------------
  19.  
  20.  
  21.  
  22. ------input.text helpers------
  23.  
  24. input_text.kitchen_rgb_color_value (will store RGB value like, "255,231,69")
  25.  
  26. ------------------------------
Advertisement
Add Comment
Please, Sign In to add comment