This automation works for all lights except the ones on my esp32
action: light.turn_off
data: {}
target:
area_id:
- wz
i've verified that the area is correctly assigned with this in the Dev Tool > Template
{{area_entities('wz')| select('match', 'light.*') | list}}
If i look at Actions in Dev Tools the esp is also missing.
here is the ESP config
light:
- platform: monochromatic
id: Sled
name: Screen
icon: "mdi:television"
entity_category: config
output: backlight_output
restore_mode: RESTORE_DEFAULT_ON
default_transition_length: 250ms
- platform: esp32_rmt_led_strip
id: led_onboard
name: LED light
entity_category: config
pin: GPIO21
chipset: WS2812
num_leds: 1
rgb_order: grb
default_transition_length: 0s
Ii can control both lights normally via HA if a address them directly via entity ID. They are reported as following.
# light.sszero_pc_screen
supported_color_modes: brightness
color_mode: brightness
brightness: 230
icon: mdi:television
friendly_name: sszero-pc Screen
supported_features: 40
#light.sszero_pc_led_light
supported_color_modes: rgb
effect: ColorCycle
color_mode: rgb
brightness: 255
hs_color: 0, 0
rgb_color: 255, 255, 255
xy_color: 0.323, 0.329
friendly_name: sszero-pc LED light
supported_features: 44