tjhorner / upsy-desky

Make your standing desk smarter

Home Page:https://upsy-desky.tjhorner.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conflicting ID: `status`

bachya opened this issue · comments

I'm attempting to use the default config as part of a larger ESPHome config:

---
packages:
  desk_config: "github://tjhorner/upsy-desky/firmware/config.yaml"
  device_base: !include common/device_base.yaml

substitutions:
  device_name: fully-jarvis-desk-controller
  device_friendly_name: Fully Jarvis Desk Controller
  device_static_ip: 192.168.10.100

When I attempt to compile this in ESPHome 2022.8.3, I get this error:

INFO Reading configuration /config/esphome/fully_jarvis_desk_controller.yaml...
Failed config

light.status_led: [source /config/esphome/.esphome/packages/111ab185/firmware/config.yaml:129]
  platform: status_led
  
  ID 'status' conflicts with the name of an esphome integration, please use another ID name.
  id: status
  pin: GPIO23
  restore_mode: ALWAYS_ON

light:
- platform: status_led
id: status
pin: GPIO23
restore_mode: ALWAYS_ON

FYI, I think this is the conflicting ESPHome integration referenced:

https://esphome.io/components/binary_sensor/status.html

Fixed this, the ID should no longer conflict.

Thanks, TJ!