YAML doesnt compile on new ESPHome - Neopixel variant not defined
Closed this issue · 0 comments
Dinth commented
Hi. I cannot compile it using the latest ESPHome, because im getting Neopixel error:
INFO Reading configuration /config/esphome/iaq-privateoffice.yaml...
WARNING 'iaq_privateoffice': Using the '_' (underscore) character in the hostname is discouraged as it can cause problems with some DHCP and local name services. For more information, see https://esphome.io/guides/faq.html#why-shouldn-t-i-use-underscores-in-my-device-name
Failed config
light.neopixelbus: [source /config/esphome/iaq-privateoffice.yaml:587]
'variant' is a required option for [light.neopixelbus].
platform: neopixelbus
num_leds: 3
pin: GPIO16
name: RGB strip
id: rgb_led
default_transition_length: 0s