I just created my first easy dashboard. The tiles for my two WLED lights are red with a sadface icon. Clicking the 3 dots shows the above error in a popup. My other devices are fine.
Wanted to log this but I don't need a fix.
I just created my first easy dashboard. The tiles for my two WLED lights are red with a sadface icon. Clicking the 3 dots shows the above error in a popup. My other devices are fine.
Wanted to log this but I don't need a fix.
What driver are you using for this device?
The joyfulhouse driver.
Can you provide a link?
[NOTE: The OP provided the code in a PM, and I'm restating this response here to continue the discussion and because there is likely other interest.]
[...]
For some reason, there's this line in the driver:
capability "Alarm"
I am not sure why they are using that. A quick search doesn't show the required attribute being specified, and that is what Dashboard is complaining about. The driver does implement the strobe() and siren() (and sort of the both()) commands, which may be why.
Ideally, the driver author would update the code to match the capability requirements. Then, Dashboard would stop showing this error. But it's third-party code, and no one can make anyone do anything.
If the author is still around, most are receptive to constructive ideas.
In the meantime, you might be able to change the dashboard tile type (not sure if the error prevents you from doing so; an "alarm" and LED strip is a pretty unusual combination, so I'm not sure what options it offers either way).
But if not, you can also make minor modifications to the driver code yourself. If you don't use the siren and strobe commands, just remove or comment out the capability "Alarm" line above. If you do, there's a couple lines or so you could add to make this compliant with the capability, but an easy way to keep the commands without the full capability, making Dashboard happy, would be to replace that line with something like these two instead:
command "strobe"
command "siren"
Got it, thanks. The driver is 2019, tho it might have been updated since then. I'll play a bit with it and post back here.
Having a alarm type on a switch is used so we can use the $5 generic sirens as alarms. The switch turns them on and off. This was never a problem before and prevents buying zwave and ZigBee alarms. .....
It will require duplicating the drivers one with alarm one without.
also having strobe on a light makes sense because it could be used with the alarm.
I'm not sure what you're asking. The post you're responding to is over a year old, not about switches but rather an Easy Dashboard issue from an improperly written custom driver, and not something that would have "never been a problem before" but is rather the behavior Easy Dashboard has always exhibited of requiring all attributes it cares about for a specific capability. In this case, the driver implemented capability "Alarm" in its metadata but failed to properly implement it, resulting in a problem with a clear explanation and a small set of possible solutions.
Please start a new topic with full context if you are experiencing a different issue, are making a different type of request, or whatever else it may be, if needed. Thanks!