Change entity ID constants from strings to arrays

home_automation/Home-Assistant-Configs#237
This commit is contained in:
2025-04-18 18:20:10 -04:00
parent f15aec8e2d
commit 7a957572c8
2 changed files with 4 additions and 4 deletions

View File

@ -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