j-a-n / lovelace-wallpanel

🖼️ Wall panel mode and photo screensaver for your Home Assistant Dashboards
GNU General Public License v3.0
462 stars 42 forks source link

browser-mod integration issue #293

Open ursnirmalt opened 13 hours ago

ursnirmalt commented 13 hours ago
Profiles:
    device.Chrome-LTDVE071:
      image_url: media-source://media_source/local/FamilyLandscape/
      screensaver_entity: input_boolean.screensaver_Chrome-LTDVE071
    device.basementcmpedge:
      image_url: media-source://media_source/local/FamilyPortrait/
      screensaver_entity: input_boolean.screensaver_basementcmpedge

this is my code. I am getting default pictures from internet. it is not loading from local media source.

Chrome-LTDVE071 is my browserid for one of the device and basementcmpedge is another device.

ursnirmalt commented 13 hours ago
 Profiles:
    device_d5f8c0c137afb88987f13159f7d0ff9c:
      image_url: media-source://media_source/local/FamilyLandscape/
      screensaver_entity: input_boolean.screensaver_Chrome-LTDVE071
    device_da0100b2144ba2b3095ac6dd47b6b6b5:
      image_url: media-source://media_source/local/FamilyPortrait/
      screensaver_entity: input_boolean.screensaver_basementcmpedge

this is updated one. still same result

j-a-n commented 8 hours ago

Please replace minus signs in the browser id by underscores: device.Chrome_LTDVE071.

ursnirmalt commented 4 hours ago

appreciate your reply. renamed browserid without minus. still same issue

do we need to refernece ${browser_id} in device.${browser_id} and screensaver_entity: inputboolean.screensaver$(browser_id)?

i see in example both are different.

and what is this line in the example

profile: device_${browser_id}

my full code:

views: