Relocated outdoor temperatures in global context

This commit is contained in:
2025-03-23 01:06:15 -04:00
parent 8dd450940d
commit 013b482f18
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
const states = global.get('homeassistant.homeAssistant.states')
const ac = states['input_boolean.master_bedroom_aircon_installed'].state
const temp = global.get('tempStr')
const temp = global.get('outdoorTemp.tempStr')
const threshold = states['input_number.master_bedroom_aircon_run_threshold'].state
const nightTemp = states['input_number.master_bedroom_night_temp'].state
const bedTemp = states['input_number.master_bedroom_bedtime_temp'].state