GithubHelp home page GithubHelp logo

Comments (2)

panhans avatar panhans commented on August 31, 2024

Hey, I have a similar situation here. I solved it like this:

I am working from home but the heating of the living room is mainly controlled by a scheduler combined with presence of persons (me and my wife) and I don't want to heat it up until afternoon. But my wife worked in shifts and sometimes she's home at noon sometimes in the evening.

So the scheduler is programmed to only heat up the living room in the afternoon starting at 3pm if someone of us i at home. To make heating also happen if my wife arrives at home earlier I've created a binary template sensor which only checks if my wife is home. Something like this:

{{ states('person.my_wife') == 'home' }}

I've selected this template sensor as presence sensor and I also setup a scheduler for presence detection for this time.
So heating only starts between morning and afternoon if my wife is home using this fake presence sensor.

So you can also setup a template based presence sensor in helper section that checks the state of your device.

I will add more options in heating plan feature to enable scheduler only for a specific person for a specific duration. But that still needs some work.

//EDIT: but what I can do is to allow multiple instances of presence sensors / boolean entities and a custom condition where you can add you individual condition. So there is no need anymore to go the way using a helper sensor.

from homeassistant.

achmet9948 avatar achmet9948 commented on August 31, 2024

Thanks a lot!

from homeassistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.