Attributes vs sensors #834
Stutchbury
started this conversation in
Ideas
Replies: 2 comments 7 replies
-
I like what your saying Can you provide a versus example ? I'm not quite understanding or finding it hard to picture what this looks like Thank you |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hey @Stutchbury - I have been working on this for you and I think I have what you want, but im well aware this is going to break a few peoples automations. If you could let me know if this is what you wanted - note there are now no attributes @dp247 - FYI |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, thank you for this integration - exactly what I need.
In HA (2024.10) I was trying to create a Dashboard Badge that only appeared 2 days before the recycling was due but it appears that 'attribute:' is not used in dashboard conditions, so having read the (wrong) conditions docs, I raised an issue.
It would appear UI conditions have a different set of docs and one of the replies suggests HA developers are moving away from attributes towards sensors. It kinda makes sense to me if attributes remain as config values and runtime values become sensors.
Eg 'next_collection' and 'days' become sensors but not sure about 'colour'?
colour: red
next_collection: "2024-10-09"
days: 6
device_class: bin_collection_schedule
icon: mdi:trash-can
friendly_name: Recycling
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions