Door/temp sensor as a "thermostat"?

Here, I found my github link:

Thanks so much. I ended up using the ‘from template’ function within the ‘create a dth section’.

I now have another question…

How can make my google home recognise whether my doors are open or closed ? ie. i want to be able to say 'ok google, is the back door closed? ’ and it tell me ‘the back door is open/closed’ accordingly

I’d love to hear if there were an answer to this :slight_smile:

Also, now I’ve made that change to the DTH when i ask google what the temperature is in a room with a motion sensor it says ’ the temperature is X and the sensor is off. ’

the ‘is off’ bit doesnt seem to be affected by whether or not it is sensing motion.

Any idea how i stop it saying this?

Thanks. Wouldnt that then appear as a seperate entry in my things list in the app? Trying to avoid cluttering my things list so would rather avoid creating a virtual device

Yeah but to me this is better. I can go to that room and get a glance at everything without having to drill down on anything. Pretty cool.

I have over 200 devices so I use the Rooms Tab often.

YMMV

This sure beats buying more Ecobee Remote Sensors just to get temp readings from Alexa. It works great!

IMG_1275