Skip to content

Music alt view broken - fix provided #331

@dinki

Description

@dinki

User gonzzovela provided this:


If you plan to update the music view, could you please check the music-alternative.yaml? I updateed the music view with the last version you have in github https://github.com/dinki/View-Assist/blob/main/View%20Assist%20dashboard%20and%20views/views/music/music-alternative.yaml and it is not working. I think the issue is that the var_musicplayer_device is missing

  var_musicplayer_device: |-
    [[[
      var assistbid = localStorage.getItem("view_assist_sensor");
      var musicdevice = hass.states[assistbid].attributes.musicplayer_device;
      return ${musicdevice}
    ]]]

If I add it, it starts to work.


This is a note to do fix this

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