Can you please share the code for your card?
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.
I’ll upload it to the link dwains shared above.
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.
It will be fixed in Dwains Theme v1.4.0
can you share how you do that… its amazing dude
I think a thread rule should be… you cant post cool implementations like this unless you share how to
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.
that would be great…!
SO VERY COOL… well done
sure its helpfull enough…
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
Awesome job James Maybe in the end you can do a PR for your addons on my official addons repo 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
so is there a template with multiple switches?
Looks awesome. Seeing your setup about a year ago is the reason I started getting into HA.
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 }}
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?
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”