try copying my code in your file
isn't this error in configuration.yaml, line 102?
ps. indentation is different from mine
because in line 102 I have:
sensor: !include sensors.yaml
For HA editor, indentation is ok ( i have green check symbol during saving). Do you have latest HA version? night_or_day is in your sensors.yaml or another file?
edit: the problem is:
sensor:
- platform: time_date
display_options:
- 'time'
- 'date'
if I temporary remove it, I have no error...
here is your problem:
sensor: !include sensors.yaml expects the included file to contain only the sensor list entries (the content that goes under sensor:), not a full YAML document with top-level keys like template: and sensor:.
So either you fix sensors.yaml to look like:
- platform: time_date
display_options:
- 'time'
- 'date'
and remove the template: block that can't go in there — it's a different top-level key
OR
the easyest fix for you is to move the sensors.yaml file as it is now in packages/sensors.yaml provided in your configuration.yaml you have something like
homeassistant:
packages: !include_dir_named packages
which you most probably do as you have garden_irrigation ![]()
thank you. I've solved creating a template: !include template.yaml and split my configuration!
Thanks
Hi when System is off, I can see the "off" icon.
But when i put it "on", the icon disappear:
Already tried to clear cache.
Yeah, that is by design (good or bad
)
The switch to turn it off is in "Settings"
you're right...
@klogg section_status_header.yaml at line 224
else return '0em';
changes the toggle into a vertical line (clickable) but kind of hidden
there is only that section named
#=== MASTER CONTROL SWITCH (When off)
so i'm wondering if there is a (When on) section missing?
If it was not intentional the section could be replaced with:
#=== MASTER CONTROL SWITCH (When off and on)
- type: custom:button-card
entity: input_boolean.irrigation_master_control_switch
icon: mdi:toggle-switch-off-outline
show_name: false
styles:
card:
- background: none
- width: 1.8em
state:
- value: 'on'
icon: mdi:toggle-switch-outline
styles:
icon:
- color: var(--accent-color)
- width: 1.8em
- value: 'off'
icon: mdi:toggle-switch-off-outline
styles:
icon:
- color: var(--text-color)
- width: 1.8em
sorry, i think we wrote at the same time...
I never realised there was still a clickable element there!



