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

@dwains Hopefully these are the relevant files and their locations in my setup. Calendar Revive is functioning correctly (tested in a separate dashboard), but I cannot get it to work as an add-on in the normal house_information file

config/dwains-dashboard/addons/house_information/calendar/page.yaml

# dwains_dashboard
## House-information add-on: Calendar
## Created by Jeroen Klompen
## Version: 1.1.0

- type: custom:dwains-heading-card
  title: {{ name }}
- type: custom:atomic-calendar-revive
  style: |
    ha-card {
      border-radius: 5px;
      background-color: var(--dwains-theme-primary);
    }
    .cal-titleContainer {
      display: none;
    }
  showProgressBar: false
  eventBarColor: 'var(--dwains-theme-grey)'
  dayWrapperLineColor: 'var(--dwains-theme-grey)'
  timeColor: 'var(--dwains-theme-grey)'
  entities:
    {{ (data | fromjson)['calendars'] }}

config/dwains-dashboard/configs/house_information.yaml

house_information:
  favorites:
    - entity: light.kitchen_cabinets
      icon_on: mdi:lightbulb-on
      icon_off: mdi:lightbulb
    - entity: group.office_lights
      icon_on: mdi:lightbulb-on
      icon_off: mdi:lightbulb

addons:
  - name: Calendar
    icon: mdi:calendar
    path: "addons/house_information/calendar/page.yaml"
    data:
      calendars:
        - calendar.family
        - calendar.eric

/config/dwains-dashboard/resources/custom_resources.yaml

- type: module
  url: /hacsfiles/atomic-calendar-revive/atomic-calendar-revive.js
1 Like

Here’s the code in househouse_information.yaml.
path: ‘dwains-dashboard/addons/house_information/calendar/page.yaml’

Hope that helps

Seems alright to me?

For some reason Dwains theme wont start today. Any ideas?

This error originated from a custom integration.

Logger: homeassistant.setup
Source: custom_components/dwains_dashboard/load_plugins.py:29 
Integration: dwains_dashboard (documentation, issues) 
First occurred: 13:23:24 (1 occurrences) 
Last logged: 13:23:24

Error during setup of component dwains_dashboard
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 248, in _async_setup_component
    result = await task
  File "/config/custom_components/dwains_dashboard/__init__.py", line 34, in async_setup
    load_plugins(hass, DOMAIN)
  File "/config/custom_components/dwains_dashboard/load_plugins.py", line 29, in load_plugins
    hass.data[DATA_EXTRA_MODULE_URL].update(url_set)
AttributeError: 'UrlManager' object has no attribute 'update'

Update DD to 2.0.3

3 Likes

@dwains I found out my shutters have supported_features: 15. As far as I know this correlates to both positioning and open/close/stop, because it works with my old dashboard. Tilt is not supported.
Can you provide aid as to how I can make it work? Now I only have position support, without open/close.

You mentioned in another comment to check the console


There isn’t a calendar card being rendered in the DOM at all. I’m thinking the calendar is definitely configured correctly (since I can see it when I create a card elsewhere) but there is something missing between DD and the calendar. Initially the instructions had a definition for type/url in a resources file, is that not the case anymore?

Hello, does this need mqtt broker running?

Yes it does

Thanks. I just added my own popup

I recently added the vacuum rooms page and was really happy to see I could use templates like this to loop over some data

However, I tried to do the same with a more_page for a custom radio player and got this error:

while scanning for the next token found character '%' that cannot start any token in "/config/dwains-dashboard/addons/more_page/radio/page.yaml", line 4, column 4

I basically copy pasted this yaml, so I don’t know why this is not working. Is there a difference in the way, the Dashboard handles rooms versus more_page addons?

solved @lukestilmann?

Since this evening all my custom addons are giving “enitity error”. While the status is correct in the delevoper tool.


For test I used a roooms yaml of yesterday but it’s no change.

Any ideas?

It’s just like entity: {{ (data | fromjson)[‘entity’] }} doesn’t work anymore in button.yaml

Yep :slight_smile: thanks again!

FYI: the LastFM integration was causing this when it was in configuration.yaml. When I moved it to sensors.yaml then is is ok.

This is the fix; ‘{{ (data | fromjson), [“entity”] }}’ But there are many more errors in the page.yaml files. Maby they can push the working code in the repository on github

Which addon are you talking about? Then I can take a look at it

Hi! I read in the documentation that is possible to use custom popups. How it works? I tried to customize device popups but it doesn’t work. Here’s my config:

global:
  language: it
  weather: weather.openweathermap # Configure a weather entity see HA docs for more info.
  outside_temperature: sensor.openweathermap_temperature # Configure a sensor here!
  outside_humidity: sensor.openweathermap_humidity # Configure a sensor here!
  # alarm: alarm_control_panel.alarm_system #Alarm panel entity.
  inside_temperature: sensor.motion_sensor_air_temperature

  #favorites_homepage: 'true' #Uncomment this line if you want the house information favorites on your homepage.
  custom_popups:
    - domain: device
      path: 'dwains-dashboard/addons/popups/device.yaml'

device.yaml

type: vertical-stack
  cards:
    - type: entities
      entities:
        - {{ entity }}
    - type: markdown
      content: Custom popup for {{ entity }}

Can I get some help
Way when my AC is on, or any other climate-heating entity is on,no icon is showing on dashboard in little circles

1 Like

I added the Calendar addon to the House Information page but noticed that the “Activity (Doors, windows, motion)” header is located at the bottom of the calendar card. I looked through all of the configuration files but cant figure out why this is showing up on the card instead of below it. Any help is appreciated!