nielsfaber / scheduler-card Goto Github PK
View Code? Open in Web Editor NEWHA Lovelace card for control of scheduler entities
License: GNU General Public License v3.0
HA Lovelace card for control of scheduler entities
License: GNU General Public License v3.0
Something to add in the future would be looking at the history of entity states, and based on that, auto-generating schedule suggestions.
Hello, sorry for my English, I am French.
I installed your programmer, everything works for me except it's in English.
I don't understand why French is not displayed.
My HA interface is in French. Maybe I have something wrongly installed?
Thanks for your help
Thank you for your work
Sacha
Hello again!
How can I show different tasks on different scheduler-cards?
Is it possible to add different programming cards in the same lovelace menu but with different tasks ?, and / or add different programming cards with different programming tasks, different panels?
Example: I have two children and I would like to show the different schedules in each panel.
If you leave out an option, the UI editor stops working, and you have to select Raw config editor from the upper-right menu.
Keep running into the following error in the chrome dev console with a fresh/new install of your custom integration and card.
Tried installing through HACS, this puts the file in the HACS rootfolder instead of its own 'scheduler-card' folder. Then tried cloning the git folder into the /local/ folder and setting it up according to your github page. Still no luck, the card will never show up and keeps throwing the error below in the chrome dev console.
Version 3.109.0
entitylist.js:12 Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at Entitylist.Parselist (entitylist.js:12)
at HTMLElement.set hass [as hass] (scheduler-card.js?v=0:32)
at HTMLElement.value (chunk.c136a66895309b59c3fe.js:23707)
at HTMLElement.value (chunk.c136a66895309b59c3fe.js:24142)
at HTMLElement.t.addEventListener.once (chunk.c136a66895309b59c3fe.js:23707)
at n (app.664a8247.js:1)
at chunk.c136a66895309b59c3fe.js:13138
This is my lovelace yaml btw, its a copy of your example, but with my working entity_id:
type: 'custom:scheduler-card'
entities:
light.tv_meubel_2:
name: "TV Meubel"
icon: ceiling-light
actions:
- service: turn_on
service_data:
brightness: 100
name: "Turn on at 40%"
icon: lightbulb-on-outline
- service: turn_off
icon: lightbulb-off-outline
With the newly added humidifier integration, with the help of generic_hygrostat
, you can control a switch based on a humidity sensor. See home-assistant/core#36759
Any plans to add this to generic config?
Hi. First of all thanks for your great job on this card.
I am trying to set a title for the card. But the card still displays "Scheduler"
Find bellow my yaml file:
standardConfiguration: false
title: irrigacao
domains:
switch:
actions:
- service: turn_on
- service: turn_off
include:
- switch.irrigacao_lateral
- switch.irrigacao_churrasqueira
- switch.irrigacao_oficina
light:
actions:
- service: turn_on
- service: turn_off
entities:
switch.irrigacao_lateral:
name: Lateral
type: 'custom:scheduler-card'
First of all, it'd be nice if you could choose sunrise or sunset, without having to manually find sunrise/sunset and checking "automatically adjust time to sunrise/sunset".
Next, it'd be nice if you could configure to 5 minutes, instead of just 10 minute accuracy. Also the ability to click on the time to adjust it to be more accurate.
Really like the scheduler! Have you considered the option to change climate preset (home/away) at selected times instead of temperature?
On a card it would be interesting to be able to sort by time and/or entity... Or to present the card in the form of a timeline...
I saw above a working screen shoot for the thermostats programming, I think it would be good to foresee that if a start is at 20:00 for example it can end the next day at 01:00 after midnight…
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
The decimal (15,5, 15,7) is not displayed on the schedulle list
When I run the switch.turn_off service on one of the switch.schedule_--- entities it seems that it is still shown as on according to the card. Is there a way to have the card reflect that the schedule is off? The state of the schedule goes from "waiting" to "off" as expected.
Eagerly following your progress on this scheduler. Great work so far!
Recommended topics:
hacs
card
scheduler
custom-card
home-assistant
homeassistant
javascript
I have defined 2 schedule cards in HA. One controlling schedules for some window vents, the other for defining activities in the Garden. The both have defined titles and are show on different pages in HA. When I move from one page to the other the title of the schedule card is not refreshing. I.e. when I am on the Garden page and move to the the vent page the schedule card displays "Garden". Not sure if this is a card issue or a Chrome issue. If I press CTRL-F5 after moving pages it forces a refresh of the name of the schedule card.
This Add-On will be great when you can add random option between 2 times. This is very handy to create a holiday scene
Random light on between 19:00 and 19:30 and random off between 23:00 and 23:59
Then you can create multiple lights that goes on and off when you're on holiday.
Maybe even a Random option between 2 times and to turn it on for 2 min and turn of itself but how many times turn on and off between the 2 times. (For example kitchen to get something and you walk back to living room the kitchen light goes off again
I like your scheduler card, am looking to possibly migrate my simpler automations (those without conditions) but I realize one of my outdoor lights is scheduled based on sun.elevation (less than -4 degrees, eg "dusk")
Is it possible to add this type of time variable (I know there is already "sunset" but that is quite too early to put on the lights)
Thanks!
Following our communication, it will be great to have:
(1) When adding an item, have an action to set both the AC mode and temperature together.
(2) When defining a card per AC (each AC unit will have its own card), when adding an item, automatically select climate and the specific entity, and go directly to selecting the action.
Thanks!
Hi, Great work there!
I was wondering if that would be possible to add helpers (i.e. input_boolean, input_select) as controllable entities by scheduler?
A great GH app to make navigation and stuff easier:
https://github.com/marketplace/issue-label-bot
My Home Assistant UI has been shutting down with a simple Home Assistant logo and the message "Unable to connect to Home Assistant". I connect use it for a while, navigate around and eventually I try to open Home Assistant in a new tab, or click the browser refresh button and I am greeted with an impassible error message. I found that clearing my browser cache resolved it so I could login again, but it would come back. It was happening enough that I even installed a Firefox addon button "Clear private data now!" to make the recovery process quicker.
With my work-around... working, I hadn't done enough troubleshooting yet to track it down. Then I saw a user on Facebook posted about this issue. They later reported: "So ... I restored a previous backup, went back to 0.114 and still had the issue. Once I removed a recently added integration 'scheduler card' it haven't encountered the issue since (testing for the past 40-50mins)"
The problem I don't know how long it takes for this to occur, and it could take a while for it to manifest. I can tell you that it started occurring for me shortly before the Home Assistant 0.115 release. Though I can't be sure I believe it first occurred sometime in the last week. This was not occurring with your card before one of your recent updates.
Other info: I'm running Firefox on Windows 10.
Facebook Home Assistant Group: link to discussion
Great Card. Works and looks perfect. Thanks a lot!!
I would like to the ability to run a event just once.
For example:
I like to turn off my 3D printers after printing at 11:00am. But only one time. Not every day or every Monday.
I hope this is possible and its a cardtype compatible function.
Thanks a lot :-)
Just like for a climate you can set the temperature, have for covers not only open and close, but also set position.
It would be useful to be able to select multiple entities when creating a schedule. For example to click on the LIGHTS group, and then select 3 specific light entities before selecting the ACTION and clicking NEXT
I get following message when I add a schedule (Switch & Light entities).
Failed to call service scheduler/add. Service not found.
I have installed scheduler-card usign HCAS.
My first thing was that there is wrong name "week days". Maybe it should be "work days?
If you can add the opcions to select scenes and automations form UI.
Add media players with the most basic functions:
Hi,
is it possible to have a condition for an action ? Like if the Thermostat is below 15 degrees at 6am turn on the heater?
How do I fix this? Comes from
AddEntityToGroup(t) {
let e = gt(t);
this.groups[e] ? this.groups[e].entities.push(t) : this.CreateGroup({
entities: [t],
icon: ut(e)
}, e)
}
Hi,
I have a schedule, after this runs I want to edit and change a time (10 minutes later to try ...) but the switch doesn't change a schedule.
the original time to be executed was at 2020-09-16T21:20:00+02:00
I tried uninstalling and reinstalling it (with the latest versions) but the problem persists, it's correct?
Thank you,
A great addition to the standard configuration would be to include vacuums as an option by default. I realize that you can add vacuums fairly easily through yaml, but I think including it by default would be great.
Please add a group to start scripts using the scheduler. To be able to use your suggestion.
Please provide examples on how to provide variables from the scheduler to the script.
It will be great to have a feature to create a holiday day.
I think of something like this:
I have my own holiday binary sensor (based on many local integrations with some templates)
I'll configure the scheduler to look at this binary sensor.
then I can schedule stuff based on check whether it's a holiday or not.
Will add a kind of checkbox to apply something only on holiday or only on not holiday.
Hi,
I currently use a bunch of input_datetime's in my heating controls as shown below and was wondering if I could use your new schedular component to simplify this.
I currently make use of HA's Workday Binary Sensor (essentially to turn the heating on later at weekends and holidays) and was wondering whether you might consider incorporating an option to have the workday entity being on or off as a criteria rather than manually selecting days of the week.
https://www.home-assistant.io/integrations/workday/
Cheers!
Hi @nielsfaber
With the latest version 1.3.2 we cannot change the state (enable / disable) from the user interface button, I try to update the cache but nothing ... clicking it opens in edit mode.
Thank you,
Antoni.
Step to reproduce:
Maybe it is not a bug and I missed something?
The default config uses Celsius. It'd be nice if it used farenheit in plain English, and used Celsius in English (GB).
It'd be nice if you could change the order of items, instead of having to delete all and create them in order again.
When restarting home assistant, all Scheduler automations are switched on, even when disabled. I think disabled should stay disabled?
Once all PRs are closed, it might be a good idea to rename the default branch to main.
Card uses sun.sun state to calculate the times for which actions fire.
The component uses the sun.sun state, but does not update while the timer is set.
Needs to be in sync.
one way to enable/disable a schedule is switch the entity switch.schedule_abc123, but on card in Lovelace isnt working.
Hi,
This card looks just awesome!
I've installed the scheduler-component successfully (added the integration as well)
Now I've downloaded the card js file and put it like any other card I downloaded.
but once I tried to add the card to the UI I got Custom element doesn't exist: scheduler-card.
any idea?
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.