Reinstall it and do a reboot.
I had the same problem. I also use input_booleans as motion sensors (this is due to a link with my alarmsystem). Did you succeed in converting input_boolean to binary sensor?
I have this:
`
- platform: template
sensors:
halmotion:
entity_id: input_boolean.pir_hal
friendly_name: “Beweging hal”
device_class: motion
value_template: “{{ states(‘input_boolean.pir_hal’) }}”
`
But that does not work. If I check {{ states(‘input_boolean.pir_hal’) }} it correctly reports on and off
Update time!!!
v1.2.1 - Bug fixes & small new features
NOTE: It still may contain some bugs. Please open a Issue on Github when you find something!
Got Dwains Theme already installed?
Copy the content of the this release over your existing files and overwrite all existing files! Note: The way resources are loaded has been changed from version 1.2.* on. If you are updating from a version older then 1.2.* overwrite your ui-lovelace.yaml
file with the one in this version! Do you have any custom resources? Go to the folder dwains-theme/resources/
rename the file custom_resources-sample.yaml
to custom_resources.yaml
and place your resources in that file! This file will never be overwritten with updates instead of the old way, so you can keep your own additional resources safe.
The way more_entities
inside persons.yaml
and rooms.yaml
has been changed, please read the changelog.
Read more on how to update here
–
Have a feature request?
Open an issue on GitHub with the title FR
or Feature Request
nice idea with the more_entities
and page_entities
on the persons.yaml
Thanks I hope it will fit the needs of some people.
I just tried more entites and page entities …page entities seem working ok but there’s an issue with more entities won’t show up
This is my config:
persons:
- name: Thorsten
track: person.thorsten_frohlich
picture_path: 'images/persons/thorsten.jpg'
more_entities:
columns: 1
entities:
- sensor.thorsten_address
- sensor.thorsten_status
- sensor.thorsten_battery
page_entities:
columns: 1 #optional
entities:
- entity: sensor.thorsten_address
- entity: sensor.thorsten_battery
Can we rename this to more info or something?
Ok… I changed it …
Walk away from your pc, go to toilet or get something to drink and come back and look at your code Maybe you then see it. HINT - entity:
I short break on the toilette didi it I now face from time to time that I cannot enter rooms anymore … i click on it but it fails… I would not show me the rooms page… any idea?
Please provide some more info, error logs, what did you all tried, are you 100% sure all entities exists etc.
persons:
- name: Thorsten
track: person.thorsten_frohlich
picture_path: 'images/persons/thorsten.jpg'
more_entities:
columns: 1
entities:
- entity: sensor.thorsten_address
- entity: sensor.thorsten_status
- entity: sensor.thorsten_battery
page_entities:
columns: 1 #optional
entities:
- entity: sensor.thorsten_address
- entity: sensor.thorsten_battery
you forgot - entity:
infront of the entities for the more_entities
yeah mate… Thanks
Assuming this is only possible if there was a custom page for each room view (rather than the general theme).
I’m wondering (super hacky) if I can copy each room.yaml and then add cards at the bottom specific to the room. It breaks your theme a little but can’t see another way of achieving this
You can use a room addon and then use the button_path:
/button.yaml
and tweak that to be a card.
How have you managed to display how many lights thats turned on? Tried to look at the code but my knowlage arent good enough to understand.
Great work btw!
i think it´s in \config\dwains-theme\views\partials\header_grid\lights.yaml
I loop though each room, then I look if its a single light or a group. If it’s a single light check if the state is on and add it to a count. If it’s a group then loop through each light and see if its on then add it also to a count.
Are you using the default more_entities
without a persons addon?
I’m not 100%, I think i’m using a persons addon. Here is what I have.
persons.yaml
persons:
- name: Mike
track: person.mike
picture_path: 'images/persons/mike.jpg'
addons:
- name: Mobile info
icon: fas:mobile
path: 'dwains-theme/addons/persons/mike/page.yaml'
page.yaml
- type: custom:mod-card
style: |
ha-card {
padding: 0px 8px 20px 8px;
}
card:
type: vertical-stack
cards:
- type: horizontal-stack
cards:
- template: room_device
type: custom:button-card
entity: sensor.mikes_phone_battery_level
show_last_changed: false
- template: room_device
type: custom:button-card
entity: sensor.mikes_phone_battery_state
show_last_changed: false
- template: room_device
type: custom:button-card
entity: sensor.mikes_phone_wifi
show_last_changed: false
- template: room_device
type: custom:button-card
entity: sensor.mikes_phone_location
show_last_changed: false