Closed ildar170975 closed 2 months ago
yeah, since core frontend use of service_data:
on actions was changed to data:
, this should at least be consistent throughout all core Frontend cards:
on Picture elements https://www.home-assistant.io/dashboards/picture-elements/#service-call-button, please streamline that to data:
since core frontend use of
service_data:
on actions was changed todata:
There must be ONE method since in other places like here it is using target
:
It is confusing - using one syntax in Dev tools & automations, another in frontend.
yes, Frontend is a different beast than Backend. if that would be it, it would be ok-ish. But al least all Frontend should be consistent. Backend is for the most part.
Ideally, Dev tools should be useful for building Lovelace & building backend. Here we can observe a scenario:
service-call
.target
& data
(except service-button in piture-elements).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.
Up
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.
up
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.
.
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.
up
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.
.
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.
Checklist
Describe the issue you are experiencing
Check these docs (https://www.home-assistant.io/dashboards/actions/#tap-action):
Means - I must define
entity_id
insidedata
section:But in practice I may use
data
,service_data
,target
:Seems that using
data
,service_data
,target
gives same result. Probably we should use ONE method and it must be reflected in docs correspondingly.Now check a picture-entities card:
The
state-badge
element works withdata
,service_data
,target
, theservice-button
works withservice_data
only (as it is described in docs).Here a similar situation: we should use ONE method which must be documented in docs.
Describe the behavior you expected
See above
Steps to reproduce the issue
See above
What version of Home Assistant Core has the issue?
2022.9.5
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Chrome 105.0.5195.127
Which operating system are you using to run this browser?
Win10x64
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