The temperature bar is this custom card: Lovelace: Bar Card
The heat set and cool set are just input number helpers I use when automating my thermostat.
The temperature bar is this custom card: Lovelace: Bar Card
The heat set and cool set are just input number helpers I use when automating my thermostat.
How do I tie the schedule helper to the entity I want to control from the entities card? For instance, the T9 thermostat or maybe a light I want to control on a schedule?
With an automation.
trigger:
- platform: state
entity_id: schedule.whatever
to: 'on'
action:
(do your thing here)
This was all a HUGE help!! Thank you!
Hi tom_I
How did you get the temperature bar corners radius? I couldnât find any examples and card radius seems to be for the outed card cornersâŚ
Please can anyone in the know about template icons help me with this. can I add yaml to the UI card to give animated icons for on and off?
type: entities
title: Heating Schedule
entities:
- entity: schedule.central_heating_2
name: Central Heating status
icon: blank
- type: attribute
entity: schedule.central_heating_2
name: Next Event (On/Off)
attribute: next_event
format: time
- entity: input_boolean.heating_schedule_off_on
icon_template: >
{% if is_state('input_boolean.heating_schedule_off_on', 'on') -%}
mdi:timer-outline
{%- elif is_state('input_boolean.heating_schedule_off_on', 'off') -%}
mdi:timer-off-outline
{%- endif %}
state_color: true
This is what I added to the Card editor but needless to say that it doesnât work to change the icons for on and off
You canât just go adding whatever options you want. Look at the supported options in the docs. Thatâs it. And most core cards do not support templates. If you search for âLovelace templatesâ you will find a third party solution.
The scheduler is working perfectly for my Thermostat AND my office lamp. For my thermostat (someone can let me know if there is a more organized way) I created a schedule for âdaytimeâ and a schedule for ânighttimeâ and I simply told my automation that when the âdaytimeâ schedule turns âonâ to set the high and low temperatures where I want (as I input in the action) and then I did the exact same thing with the ânighttimeâ. It is working great!!