Comments (11)
Ok thanks for confirming.
If would be helpful if the features are available as it reduces the need to write manual scripts and automations.
from scheduler-card.
It is not supported currently, no.
It is also not really planned, because it will add quite some extra buttons and fields to the GUI, which might get confusing.
But it could be considered if it helps a lot.
For now, if you want to do something like this, you could create a script/automation that has the condition.
This script/automation can be triggered as a schedule.
You could pass the temperature threshold condition as a variable from the card, so no hard-coded level.
from scheduler-card.
Personally, I think it's really easy to make an automation with the GUI, the main reason I use this component is because it's a bit faster.
I think that it's better to have no condition format then a limited condition format, because I don't see the point of recreating Home Assistant's advanced condition system when it'll just lead to lots of bugs.
Sure, I'm be being lazy and not seeing the point, but I think that it's pretty easy to maybe just add a quick link at the bottom to create a new script.
But this could be useful in a couple of ways:
- Only on workdays, trigger schedule.
- At the same time every day, if it's a workday or weekday, do one thing, else do another thing.
from scheduler-card.
Thank you very much for your work, the card is very easy to use and surely the best scheduler available for HA so far.
I think it's a must to include some conditional starting. For example, i would like to progam a climate shedule like the TADO application and would like to include the "at home/away" detection. This is impossible to make without a conditional checking, you could just add a simple one.
from scheduler-card.
@EnryDalo adding such functionality is not considered at this point.
There are two alternatives:
- Use the scheduler to trigger a
script
that contains the condition and action. It is possible to pass a variable (such as temperature setpoint) to the script. - Use an
automation
to check the condition and turn off the schedule when it should not do anything. There is an open request for giving schedules a better name / entity_id, which should facilitate this.
from scheduler-card.
+1
from scheduler-card.
@mycanaletto please hit the +1 emoji so that people can sort by most positive reactions as well.
from scheduler-card.
Suggestion of @MatteGary (I post it here because it is a related FR):
It would be awesome to have the possibility to let an automation run if no one is at home, or if someone is at home, like Apple Home App let us do.
I have an automation in Apple Home App that basically is “If no one is at home at 19:00, then turn on my garden light”.
Option should be:
. Run if no one is at home
. Run if someone is at home
from scheduler-card.
Conditions are introduced in v1.7.5 so you should be able to make the behavior as you wanted it.
Note that (currently) you cannot set up a condition in combination with an entity attribute, only the state will be checked.
So if you want to use the temperature of a climate entity, you should add a template sensor for this.
Please test this new functionality!
from scheduler-card.
A bit more margin between the icon and the text is needed:
Also, I think the confirm button:
Should probably be the same as:
Any docs about this?
from scheduler-card.
Closing since this is in place now.
If there is more functionality needed regarding conditions, please let me know! (open new FR for it please).
from scheduler-card.
Related Issues (20)
- Support (not only the Sun integration but also) the DECONZ-daylight sensor integration HOT 5
- Add integration filter to include list HOT 3
- Restrict tags to only one schedule (enabled) at the time
- Modify schedule switch to On/Off/Auto HOT 3
- Expose current state of conditions HOT 4
- Cannot disarm alarm? HOT 1
- Script option to "Execute" doesn't do anything? HOT 3
- Changing timeslots via service "Scheduler: Edit" leads to "invalid date" HOT 1
- Scheduler-Card keine Verbindung zur Schedulerkomponente
- The possibility to change the name separately to the display name and the entity id. HOT 2
- arming manual alarm with code throught the scheduler card HOT 1
- entity to disable tagged timers HOT 1
- Add the time domain (time entities) to the list of standard configuration actions HOT 3
- After upgrade to HA 2024.03 - crashes when adding a schedule from service-call HOT 1
- "Add item" button missing. HOT 4
- "Name" field title missing on options tab HOT 2
- scheduler-card - Continiously repeating 'Uncaught error from Chrome 123.0.0.0 on Windows 10' HOT 1
- Schedules are turned off or not triggering HOT 4
- Allow non modulo 5 minutes time (like 06:28)
- Use any datetime object instead of just "sun"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scheduler-card.