Skip to content

Selection by "DevideID is broken #126

@Eckart0

Description

@Eckart0

I want to use lovelace-state-switch to hide maps on some tablets using the deviceID.

This does not work as soon as I have renamed the deviceID in the browser mod settings.

An example: deviceID, issued with commandl "localStorage["lovelace-player-device-id"] into your browsers console"
In Browser-Mod deviceID renamed to "k68w14-chrome"

The results are:

type: custom:state-switch entity: deviceID default: default states: 1b22b00b-fe70767a: type: markdown content: | Desktop x default: type: markdown content: | Default
ejects: Desktop x

`type: custom:state-switch
entity: deviceID
default: default
states:
k68w14-chrome:
type: markdown
content: |
Desktop renamed
default:
type: markdown
content: |
Default
'

ejects: Default

Regards, Eckart

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions