So I want a button on a bubble card (they are from hacs) that set a light brightness to a 100% and I want this button to only appear if the light brightness is below 100%. I failed to do that so I tried with a regular Button Card, this is what I’ve come up with:
I missed there was a second brightness attribute, but… drum roll pls… I can set the below value to 100, 255, 1000, or whatever and it still never works.
This is very odd considering it is working for you. I double checked for typos (you got one in the last line of your post) but there are none.
My home assistant versions are:
Core 2025.2.4
Supervisor 2025.02.1
Operating System 14.2
Frontend 20250214.0
I think I have the latest, so maybe you have an older version and they stopped supporting the entity_id property, or something is wrong with my ha.
The id is correct btw: There should be an image of the entity here, but as a new user I am limited to 2 links and 1 media
I concur that something must be wrong, however I’m new to home assistant and even with google I cannot figure it out. So any help is greatly appreciated.
However it means I have to make a sensor for every light for which I want to make this conditional button, so if you have a solution to make the process easier or to fix the issue without using the sensor I am interested.
In the meantime this solution will work, thanks for your help.