Thanks for your reply. Unfortunately, margin: auto doesn’t seem to have made a difference.
A screenshot with the recommended margin settings is below. I’ve mouse hovered over the card in the ‘edit dashboard’ mode to demonstrate more clearly how the card doesn’t center itself within the grid.
I’m trying to make something like in the below image, if anyone could help or has any ideas of how to do it that would be great. I managed to make a round gradient button but can’t figure out how to make a square button around it and have it change with an on/off state.
Having a blank, hoping someone can help with the best way to have two objects directly overlapping each other and centered both left/right and top/down? Would it be a grid with absolute positioning?
Trying to get these two objects (apex chart and button) over each other:
I have multiple WiZ Light Bulbs that I am using the newly added integration for.
The integration reports back the state of the bulb, but it’s difficult to display an accurate bulb color when a bulb effect is in use (see below). I’d like to specify an RGB value for the icon color based on the active effect (examples… Ocean: Blue, Romance: Pink, Sunset: Orange, Forest: Green, …)
I’ve been lost at how to parse this, when the attribute for “effect” is only present when an effect is active.
min_mireds: 153
max_mireds: 454
effect_list:
- Ocean
- Romance
- Sunset
- Party
- Fireplace
- Cozy
- Forest
- Pastel Colors
- Wake up
- Bedtime
- Warm White
- Daylight
- Cool white
- Night light
- Focus
- Relax
- True colors
- TV time
- Plantgrowth
- Spring
- Summer
- Fall
- Deepdive
- Jungle
- Mojito
- Club
- Christmas
- Halloween
- Candlelight
- Golden white
- Pulse
- Steampunk
- Rhythm
supported_color_modes:
- color_temp
- rgbw
friendly_name: Office02
supported_features: 4
color_mode: brightness
brightness: 128
effect: Deepdive
min_mireds: 153
max_mireds: 454
effect_list:
- Ocean
- Romance
- Sunset
- Party
- Fireplace
- Cozy
- Forest
- Pastel Colors
- Wake up
- Bedtime
- Warm White
- Daylight
- Cool white
- Night light
- Focus
- Relax
- True colors
- TV time
- Plantgrowth
- Spring
- Summer
- Fall
- Deepdive
- Jungle
- Mojito
- Club
- Christmas
- Halloween
- Candlelight
- Golden white
- Pulse
- Steampunk
- Rhythm
supported_color_modes:
- color_temp
- rgbw
friendly_name: Office02
supported_features: 4
color_mode: color_temp
brightness: 128
color_temp: 184
hs_color:
- 27.746
- 13.648
rgb_color:
- 255
- 236
- 220
xy_color:
- 0.356
- 0.344
I have Wiz as well but I’m not using a bulb icon in my interface. In your case, if the bulb is off could you not use a light grey icon for the bulb icon? Like you say the bulb reports back the effect when the bulb is on.