I want to use nest thermostat as a motion sensor to trigger hallway lights when someone comes home at night time
I am using following code a bit modified from a similar post in this forum but it doesn’t do anything please help as I am not that expert as just started using home assistant. Check config is all fine nothing wrong in it with check config result
alias: “Nest Light Turn on”
trigger:
platform: event
event_type: hallway_light_on
platform: state
entity_id: binary_sensor.nest_away_mode
to: ‘off’
action:
service: light.turn_on
I’ve been experimenting with this a bit, but haven’t found the mode switching (or at least Home Assistant’s awareness of the mode switching) to be quite timely enough. Regardless, here’s an example of how you can use nest modes as triggers for automations…
Manbearpig92Kyle Same here - I only have humidity and temp. Did you ever get anywhere with this? I resorted to this method https://community.home-assistant.io/t/exposing-google-home-away-mode-to-home-assistant/429528 - it is only for the entire house though… if you have multiple thermostats, they are all combined in the home/away so if you are wanting to have presence per thermostat, this method will not work unless you setup multiple “houses” for each thermostat not ideal but I guess it could work.
I know this is an old thread. Is this still working for anyone? Checking Developer Tools, I see the following attributes for the climate entity for each thermostat. It’s missing the away_mode attribute so I don’t see how this would work. Any thoughts? I am hoping for occupancy status per thermostat, and not for the entire home.