thomasloven / lovelace-state-switch

🔹Dynamically replace lovelace cards depending on occasion
MIT License
407 stars 27 forks source link

Is deviceID broken? #121

Open romquenin opened 3 months ago

romquenin commented 3 months ago

Hello, despite multiple searches on this github, on browser_mod github and the official HA forum, I can't get the deviceID option to work. Is this amazing option broken?

romquenin commented 3 months ago

I have fixed my issue for displaying differents cards depending on the device-browser (smartphone & desktop pc) with the mediaquery option.

daveyijzermans commented 3 months ago

I think because it's now browserID instead of deviceID. Would love to see a fix for this as well.

cuongpl commented 4 weeks ago

@romquenin @daveyijzermans Find your correct deviceID, it's not browserID. You can find your deviceID by typing localStorage["lovelace-player-device-id"] into your browsers console.