Hi, great work on this, really like it !
Trying to add my covers, but the color is always “on” and the icon does not update when the cover is actually opened:
Please, I need someone to point out what I’m missing here; I’ve got most everything working with this except my dimmers. They all show (pop)up with a switch on/off option, rather than the slider.
All three of those lights are dimmers, HA recognizes them as such of which I can set their brightness from the stock info panel from each. But when I try using the light-popup-card, I get the popup, but with a switch instead of a slider.
Default the off state is checked for off or unavailable you can set more that should be shown as off.
Add offStates to your configuration and make it like this for example:
In ui-lovelace.yaml I tried setting supportedFeaturesTreshold: 9 per your documentation with no change; I still get an on off switch for my dimmable devices. I also tried setting it to any integer 0-9 with the same result. On these same devices, I can successfully call a popup dimmer using other customs dimmer type cards… but I was (and am) hoping to use yours as I really like the design.
Strike that, I guess I hadn’t really tried setting it to 0. I just did and it worked! I’m good to go, thanks for the help!
Thanks @DBuit
Two other requests for the media player popup which aren’t necessarily urgent but would be nice to have i future versions:
Option to specify if volume is stateless. Some of my media players have stateless volume so the % shows a NaN error (I guess because JS is unable to display the percentage)
Right - there is no volume entity for some of these media players (because they aren’t originally smart media players - for example a non-smart TV that Home Assistant thinks as smart because I’m using SmartIR custom component. This makes it almost the same as a smart tv but without a volume entity
Just the list of sources you can choose from - the same list of sources the media player has (i.e. the source_list param in the media_player entity’s states
Just updated the light, cover, mediaplayer and thermostat popup cards.
Fixed closing when on settings page by clicking next to content
When the card you are loading with settingsCard needs and entity, entity_id or entities you can also set this as the value. this is replaced with the entity of which the popup is opened for.
Yes I use the light popup card in combination with the browser_mod (and decluttering card). I have messed around with a few different combinations of the style.
The downside with this is that the popup box does not dynamically change size to fit the size of the contents (ie when you bring up the more-info popup by clicking settings)
which is a bit to squished together. I tried adding some padding to the top and bottom, which helped on the bottom, but the padding-top brought down the dark green bar with the title as well (btw still wondering how I can change the color of this bar to match the rest of the popup card?)
to try to space out the items, but it didn’t seem to do anything. In addition, the padding on the bottom didn’t help the position of the settings button when you click on it and go into the more-info popup.
So in summary, if anyone knows how to properly space out the content of the flex box and also change the color of the title bar I would be grateful. At the moment it seems I will go with the 2nd style I posted which is full screen on the iPhone and not full screen on a monitor/pc.
Are you running the latest version of home assistant there was a bug with browser_mod popup.
If you are any errors in your console? and can you share you configuration?