You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought initially that setting the state would not be able to set anything else than, well, the state (and creation of the entity). But somehow the icon can be set as well via the attributes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am creating ad-hoc entities via
state.set()
. An example would be:The entity is created
something
is the nameaaa.something
is the entitywazaa
is the valuemdi:web
is the iconBut:
"name": f"monitoring something",
is not taken into account → I can live with thatThis means the status can't be edited via the UI, and I would like to know why:
Note: I think that this question is not really related to pyscript, I will ask it on the global forum as well. It is here just in case :))
EDIT: I found an old question of mine where I mentioned that I can create an almost working entity via MQTT discovery:
I thought initially that setting the state would not be able to set anything else than, well, the state (and creation of the entity). But somehow the icon can be set as well via the attributes.
Beta Was this translation helpful? Give feedback.
All reactions