Open pawelma opened 1 month ago
I think ideally all "alternative sensor" attributes would be grouped into a dedicated dictionary, similar to the "forecast" entity, which would allow preserving a consist naming convention. This would be a bigger change and break all sensor attributes tho, so would be good to at least merge this PR, to fix both visibility condition and visibility entity attributes with HA 2024.6+
WHAT
Renames the
visibility
card option config variable tovisibility_entity
.⚠️ It will introduce breaking change for people who were using
visibility
custom sensor. After this change it will have to be renamed tovisibility_entity
:warning:WHY
So that it won't clash with
visibility
card configuration in home assistant. The clash were making card fail when any condition for native HA visibility were set.Config yaml prior the change:
Config yaml after the change:
Card not rendered before change when visibility condition (not visibility card options) filled:
Card rendered after change: