Browser_mod : device_id and device identification assignment issue?

Hi there, nothing to do with the recent update 2024.7 as I have not done it yet, but more related to a reboot of HA as it already happened before, my issue is like browser_mod.popup is not working anymore on my “Lenovo-tablette” device_id though it is still defined in browser_mod interface.

I think it has do to with a mismatch between the device_id and its “device identification number”, you know when you pass your mouse on the device_it, there is some kind of internal device identification number, and I am wondering if that is not changing when HA is rebooting, the identity changes and +HA is still using the old one ?

anyway here is the browser_mod showing my 3 defined devices including the “Lenovo-tablette” :

When I pass my mouse on the listed devices, I see at the bottom their device identification number like :

…integration shows Lenovo-tablette is indeed unavailable le since 21 hours, which correspond to the last reboot of my NAS linked to power interruption :

and here is my code using the “Lenovo-tablette” id :

- service: browser_mod.popup
            data:
              title: Caméra Extérieure
              dismissable: false
              content:
                camera_view: live
                type: picture-glance
                entities: []
                camera_image: camera.192_168_1_110
              timeout: 120000
              size: fullscreen
              browser_id:
                - Lenovo-tablette
              right_button: Raccrocher
              right_button_action:
                service: media_player.media_stop
                data:
                  entity_id: media_player.lenovo_tab_m10_plus_3rd_gen
              left_button: Laisser vidéo 5m
              left_button_action:
                service: browser_mod.sequence
                data:
                  sequence:
                    - service: browser_mod.popup
                      data:
                        title: Caméra Extérieure
                        dismissable: true
                        content:
                          camera_view: live
                          type: picture-glance
                          entities: []
                          camera_image: camera.192_168_1_110
                        timeout: 300000
                        size: fullscreen
                        browser_id:
                          - Lenovo-tablette
                    - service: media_player.media_stop
                      data:
                        entity_id: media_player.lenovo_tab_m10_plus_3rd_gen

So I think after the reboot of HA, it assigned new ID’s to the devices keeping the same device name, but somehow my script using the device name is not working anymore.
Is it known that there is a bad “re-assignment” between the device_id and its identification number maybe …

what should I do here ?

EDIT : and instead of an HA reboot cause, I would think it can even be because of the tablet reboot which occurred during the same power failure, where after reboot, it gets a kind of new identification number ??

Many thanks !!