jazzyisj / home-assistant-config

My Home Assistant configuration.
74 stars 10 forks source link

Lovelace: state-switch deviceID not working #42

Open jazzyisj opened 1 year ago

jazzyisj commented 1 year ago

SWITCH https://github.com/thomasloven/lovelace-state-switch/issues/90

  - type: custom:state-switch
    entity: deviceID #SWITCH
    default: "jlaptop_chrome_internal"
    states:
      kiosk_internal: ...
      jlaptop_chrome_internal: ...
jazzyisj commented 1 day ago

You can find your deviceID by typing localStorage["lovelace-player-device-id"] into your browsers console.

How to get on android?