I'm trying to setup something that will keep my apartment in a reasonable heated/cooled state when I'm away for a couple of days/weeks.
I started out with a simple "if lower than 26C, then turn on inverter on heat setting" sort of thing. Worked fine..
But when I added the "else if" statement, it stopped working.
What I'm trying to accomplish with the script below is:
1. If its colder than 26C (temperatures will be adjusted before I leave it to do its thing...) turn on the AC/heatpump in "Heat" mode - 20% level on my multi selector switch.
2. If its warmer than 30C turn on the AC/heatpump in "Cool" mode - 30% level.
3. If its somewhere between 27C and 29C turn off the AC/heatpump - but only if it is not already turned off (the thing makes an annoying beep sound every time it receives a command - also if its the same as the last one) Nothing is happening, nothing in the log - so what am I missing??? (apart from any clue what I'm doing obviously
