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

Can you please share the code for your card?

2 Likes

Yes as long as you follow the very well written instructions you will be able to have both running alongside each other. You can choose them based on user login if required or select them manually from the side menu.

2 Likes

I’ll upload it to the link dwains shared above.

1 Like

Has anyone managed to get the keypad of the alarm working?

I have changed some lines in the code to activate the popup but have been unable to have it working on reloading the page.

1 Like

It will be fixed in Dwains Theme v1.4.0

Xiaomi Eco System Addon

1 Like

can you share how you do that… its amazing dude

2 Likes

@dwains

I think a thread rule should be… you cant post cool implementations like this unless you share how to :smiley:

4 Likes

If you want access to code I’ll upload it to my github without instructions until I’m ready to document it and add it to the addons properly.

1 Like

that would be great…!

1 Like

Whilst you’re waiting another to tease you with not quite finished yet

3 Likes

SO VERY COOL… well done

2 Likes

sure its helpfull enough…

1 Like

for those that are interested I will upload my code here for the addons im creating. I have only put up the Mi Flora card, I will tidy up my code and upload others shortly.
@fanul, @konradwalsh, @Cobi

3 Likes

Awesome job James :smiley: Maybe in the end you can do a PR for your addons on my official addons repo :slight_smile: GitHub - dwainscheeren/dwains-dashboard-addons: Dwains Dashboard Community Addons It’s all new so I still need to make some nice docs and readme files for it, but quite busy right now with other stuff. It will come soon just as Dwains Theme v1.4.0

1 Like

so is there a template with multiple switches?

1 Like

Looks awesome. Seeing your setup about a year ago is the reason I started getting into HA.

2 Likes

Are you referring to the Xiaomi Addon? I use these to get the sensor counts.

      xiaomi_motion_sensor_count:
        friendly_name: Motion
        entity_id: sensor.time
        value_template: >-
          {{ states.binary_sensor | selectattr('attributes.device_class', 'eq', 'motion') | list | count - 1 }}
1 Like

I’m getting some issues with the addons parsing some data they work for others and the templates are valid any idea?


rooms.yaml

      - name: Star Jasmine
        icon: mdi:sprout
        path: 'dwains-theme/addons/rooms/garden-room/star-jasmine.yaml'
        button_path: 'dwains-theme/addons/rooms/server-room/button.yaml'
        data:
          some_data: 'Firmware: {{states.sensor.sar_jasmine_firmware.state}}'
          some_other_data: 'Last Update: {{relative_time(states.sensor.star_jasmine_last_report.last_updated)}}'
          entity: plant.star_jasmine

Addon

            - type: markdown
              content: >
                <br>
                **Mi Flora**<br>
                {{ (data | fromjson)['some_data'] }}<br>
                {{ (data | fromjson)['some_other_data'] }}

Both are identical, I have noticed it will do this without reason, maybe an issue with markdown card and not the theme?

1 Like

I’m trying to add a page from the theme-addons github (Sonos - dwains-dashboard-addons/rooms/sonos at for-dd-2.0 · dwainscheeren/dwains-dashboard-addons · GitHub) - and i’m getting the following error:

while parsing a flow mapping in “/config/dwains-theme/addons/rooms/office/sonos/button.yaml”, line 6, column 10 expected ‘,’ or ‘}’, but got ‘[’ in “/config/dwains-theme/addons/rooms/office/sonos/button.yaml”, line 6, column 29

VSCode reports that line 5 of that file has an error “missed comma between flow collection entries”

1 Like