Update: So far my main problems are solved. Thanks @safe phoenix
Since I don't want to make (yet) another thread, I leave it open a while.
What I still try to figure out, if even possible:
- if I can make the ripple transparent on a element basis. don't want to create a new theme for that.
- making the state-icons size relative to the image size, so it smaller on smaller screens. what I found so far doesn't work.
Hi. I'm recreating my floor plan from scratch. I might be too stupid to google, but I didn't find anything.
I get a big black circle when I click on the image element.
It has to do something with that element state. When the state is on, the circle is oval
It goes away when the browser loses focus.
This is on Firefox. The same happens in edge, only that there is a barely visible transparent white circle.
***Edit: *In a Firefox Private Window, it's also a barely visible transparent white circle, like in Edge. I disabled all addons, but that didn't help.
Also the white does not look so nice, anyway to remove it completely? ( pointer-events: none; does not seem to help)
Edit2: Somehow I thought its possible that it only clicks on the area that is not fully transparent. The problem remains tho, with an defined area, it just draws that big circle in the whole area.
image: /local/floorplan/BG_day.png
elements:
- entity: light.licht_schlofzimmer
style:
left: 50%
top: 50%
width: 100%
type: image
state_image:
"on": /local/floorplan/light_on_schlofzimmer.png
"off": /local/floorplan/transparent.png
tap_action:
action: toggle
grid_options:
columns: full