Change entity ID constants from strings to arrays
home_automation/Home-Assistant-Configs#237
This commit is contained in:
@ -22,8 +22,8 @@ node.log("Emma Bedroom Climate: Constants Set")
|
||||
|
||||
// Define reusable constants
|
||||
|
||||
const emmaBedroomAircon = "climate.emma_bedroom_aircon"
|
||||
const emmaBedroomWhiteNoise = "input_boolean.white_noise_emma_bedroom"
|
||||
const emmaBedroomAircon = ["climate.emma_bedroom_aircon"]
|
||||
const emmaBedroomWhiteNoise = ["input_boolean.white_noise_emma_bedroom"]
|
||||
const validSchedModesAC = ['AC', 'Fan']
|
||||
|
||||
// Helper function to convert a string to title case
|
||||
|
Reference in New Issue
Block a user