Looking at the Cover Doc in HADashboard.md file it looks boolean.
My Almond+ app shows the door close/opening/open/closing. I was trying to replicate that HADashboard. The closest way would have to create a input_mode and update it with automations.
How hard is it to create a widget? I saw in the beat thread where someone was testing it for @aimc.
Also in the Almond+ there is a difference in how the door was open/closed (using the wall button vs being commanded from automation).
Hey, do you know how hard it is to get my Linear Garage Door running. I want to pretty it up.
Without the icon_xx I get the red/white arrows. They work as I tilt the sensor. Also, clicking on the widget cycles the door(my controler flash and beeps)
But when I use the icon_x it is just grey background, and clicking the widget cycles the door.
What am I missing?
How does icon_style_active, icon_style_inactive play into this?
Fix the icon showing up. It was a mistype should have used a - instead of a . to separate form icon library.
And once I get the icon to show up, then I could see they were backwards.
Here is where I am at right now.
garage:
widget_type: cover
title: Garage Door
title2: One Car
state_text: 1
state_map:
"open": Open
"closed": Close
entity: cover.garage_door_one_car_barrier_state_label
icon_on: mdi-garage-open
icon_off: mdi-garage
icon_style_inactive: "color: green"
I found it by looking at other examples. @aimc What about a tweak to the documents …
Just thinking out loud …
At the end of the section (cover) have the hello world example section for that widget.
Tried to hack the web page but not a good job, I think it gets the idea across.
Haha @penright. I love how you start off with a question and then systematically answer it for the rest of the community . I was having a problem with my cover icon’s and the State Map solution looks like the answer for me.
Thanks very much