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

Das sieht toll aus! Awesome usage of addons you did there mate :smiley:

ALright, I do keep it all updated. I will do what you suggested. Might see ya soon on slack…thanks for the help kind sir.

How did you get the battery in persons? I only see my phone battery in house data > all batteries

in config\dwains-theme\configs i modified the persons.yaml like this:

persons: 
 - name: David
   track: person.david
   picture_path: 'images/persons/david.jpg'
   addons:
     - name: Mobile info
       icon: fas:chart-area
       path: 'david/addons/persons/mobile-info/page.yaml'

then i created a page.yaml in david/addons/persons/mobile-info/

with this content:

- type: custom:mod-card
  style: |
    ha-card {
      padding: 0px 8px 20px 8px;
    }
  card:
    type: vertical-stack
    cards:
      - type: custom:button-card
        template: room_device
        name: iPhone Batterie
        color: var(--dwains-theme-accent)
        entity: sensor.battery_level
        show_last_changed: false
        styles:
          img_cell:
            - width: 45px
            - height: 45px
            - background: var(--dwains-theme-background)
            - color: white
            - border-radius: 100%

tapping on the person on the mainview then opens this.

EDIT: i just had a quick chat with Dwains. in a future update he will simplify things and you have to add your addons in the dwains-theme/addons/persons folder.

3 Likes

I will try that, btw do you know where sensor.battery_level was defined? I have that too, but I can’t remember where I defined that? I also want the battery level of my girlfriend her phone…

iirc it´s done by the mobile app

1 Like

Oh I See, I search all my sensor files, and I couldn’t find it… It make sense :wink:

When updating the lovelace.yaml in a regular set-up, we can see the updated content after a refresh of the page / clear cache without restarting Home Assistant.

With this theme, each update i do on the config files or addons files are only showing after a full reboot of HA. Is it the expected behavior ?

Works perfect! :wink:

2 Likes

Right now the answer is yes. This is because of the way the config is loaded inside HA. I’m looking into this for making it easier in future updates.

Update time!!!

:tada: v1.1.4 - Some bug fixes

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 that if you made any changes to ui-lovelace.yaml to compare those files.

Read more on how to update here

Changelog v1.1.4

Forgot a small thing in v1.1.3 so I patched that quickly and released v1.1.4. You can skip v1.1.3 and go directly to v1.1.4 but read the v1.1.3 changelog for info about the changes.

New here with Dwains Theme?

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

3 Likes

Update time!!!

:tada: v1.1.5 - Weather fix

NOTE: It still may contain some bugs. Please open a Issue on Github when you find something!

v1.1.4 had a bug with weather on the homepage, sorry! This bug is fixed in v1.1.5.

Got Dwains Theme already installed?
Copy the content of the this release over your existing files and overwrite all existing files! Note that if you made any changes to ui-lovelace.yaml to compare those files.

Read more on how to update here

Changelog v1.1.5

New here with Dwains Theme?

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

1 Like

Sorry, you are absolutely right (I have missed it). Just disregard the message.

Hey thanks for your help earlier. Wanted to let you know the problem went away after i updated.

I setup the Fitbit integration ( just make sure you have the base_url defined under the http integration and are using ssl).

Then followed this guide to create the card (https://sharethelove.io/picture-elements-cards/fitbit-card).

If you need help adding it to the person view, lmk. I’m away from my desk atm

Did you solve this? Mine is also blank and have tried many things to resolve.

Yes.
You need to recheck your configuration very carefully.
If you’ve misspelled a device or have wrong indentation or anything like that.
The entire theme wont work.

ok thanks, will comb through it in detail

not having much luck, having a few issues actually.

  1. was in the site manifest theme_color (aka primary-color) is a var so kicks a warning
  2. I’m also seeing an error - cannot find original style sheet - cant tell is this is dwain-theme related though
  3. The icons.yaml says only to uncomment if needed to override defaults, but if I leave it as is I get the following error:
    Error during setup of component dwains_theme Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 170, in _async_setup_component hass, processed_config File "/config/custom_components/dwains_theme/__init__.py", line 87, in async_setup icons_config = config.get("dwains_theme")["icons"]["icons"]; KeyError: 'icons'

If I just uncomment icons: and not an item it kicks off a NoneType error.
4. the indentation looks different in the config-samples. comparing cameras.yaml and icons.yaml

EDIT:
5. custom-header can not load HA element tabContainer

I have literally empty files in the configs directory. Persons, rooms, etc all the bare minimum and still nothing loads

EDIT:
I can confirm all except #2 disappear when I comment out the dwain-theme view and bring back my old lovelace views.

Thank you for the update but I notice that only if I click on a room does my independent temperature override the climate but on the homepage the climate is still overriding my temperature.

As you can see above I would I like to see 23.5 degrees on the homepage not 25 degrees.