DD - Automatic area-based dashboard for desktop, tablet and mobile - V3.7.0

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

1 Like

Update time!!!

:tada: 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

Changelog v1.2.1

New here with Dwains Theme?

Have a feature request?
Open an issue on GitHub with the title FR or Feature Request

1 Like

nice idea with the more_entities and page_entities on the persons.yaml

1 Like

Thanks :stuck_out_tongue: 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 …

1 Like

Walk away from your pc, go to toilet or get something to drink and come back and look at your code :stuck_out_tongue: Maybe you then see it. HINT - entity:

1 Like

I short break on the toilette didi it :slight_smile: 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?

1 Like

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

1 Like

yeah mate… :slight_smile: Thanks

1 Like

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

1 Like

You can use a room addon and then use the button_path:/button.yaml and tweak that to be a card.

1 Like

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!

1 Like

i think it´s in \config\dwains-theme\views\partials\header_grid\lights.yaml

1 Like

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.

Could someone tell me how to move the map to the bottom of the page?

Thanks,
Mike

1 Like

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
1 Like

Ok. I switched from addon to page_entities. Thanks for the help and the awesome theme.

Mike

1 Like