home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.99k stars 2.72k forks source link

Picture Glance cannot configure Tap Action #12024

Closed tangix closed 1 year ago

tangix commented 2 years ago

Checklist

Describe the issue you are experiencing

Configuring Tap Action on a Picture Glance card no longer works. Instead destroys config and displays:

Configuration errors detected:
No type provided.

All other configuration options are gone.

Describe the behavior you expected

Being able to set Tap Action as before.

Steps to reproduce the issue

  1. Create a new card, choose Picture Glance
  2. Change Tap Action from Toggle to anything More Info ...

What version of Home Assistant Core has the issue?

2022.3.3

What was the last working version of Home Assistant Core?

2021.12.9

In which browser are you experiencing the issue with?

Chrome 99.0.4844.51 and Edge 99.0.1150.39

Which operating system are you using to run this browser?

macOS Big Sur 11.6.4

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

tangix commented 2 years ago

2022-03-12_12-39-30 (1)

moviele commented 2 years ago

Same problem with me. But when I work in Yaml mode, the card works. After saving the card you can continue working in UI mode.

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

breakthestatic commented 2 years ago

This is still an issue. It's definitely a pain having to switch back & forth from yaml mode just to change the action.

RoyGX commented 2 years ago

I have the same exact problem

RyanWor commented 2 years ago

Can anyone share what the yaml lines for the two options ("tap action" and "hold action") should look like? I don't see those options listed in the picture-glance docs page. Trying to set tap action to navigate and hold action to toggle.

moviele commented 2 years ago

camera_view: auto type: picture-glance title: Seite entities:

Am 26.07.2022 um 17:23 schrieb Ryan Worrell @.***>:

 Can anyone share what the yaml lines would look like for the two options ("tap action" and "hold action") should look like? I don't see those options listed in the picture-glance docs page.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

RyanWor commented 2 years ago

Thank you @moviele got it working now

tap_action:
  action: navigate
  navigation_path: /lovelace/master
hold_action:
  action: toggle
moviele commented 2 years ago

Great! You are welcome!

Am 26.07.2022 um 17:58 schrieb Ryan Worrell @.***>:

 Thank you @moviele got it working now

tap_action: action: navigate navigation_path: /lovelace/master hold_action: action: toggle

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

breakthestatic commented 1 year ago

FYI all, looks like this has been inadvertently fixed in 2022.11. Not sure if it was something upstream from the LitElement library or refactoring done within HA, but I can once again use the UI to edit picture-glance actions:

https://user-images.githubusercontent.com/9346314/200047079-5a46fb80-75fb-4851-a907-714a753201b3.mov