#Emulated_hue not presenting selected entities

1 messages · Page 1 of 1 (latest)

cold heath
#

I'm trying to setup the emulated_hue integration to present just a few of my ESPHome devices so Alexa can control them. If I expose all of my switches, then I can discover all of them and I see them at http://homeassistant.local/api/v2/lights

If I turn off expose_by_default and then list just the entity I want to show up, after restarting HA, the lights API only shows {} and nothing is discoverable. I have to add a name: field for the config to be valid, even though the documentation says it should be optional. I'm getting the ID of the entity directly from HA, but is there a different value I need to use?

Ultimately, I want to list about 6 items that I choose, and not all of the 50+ switches that are in my HA config.

emulated_hue:
  listen_port: 80
  expose_by_default: false
  exposed_domains:
    - switch
  entities:
    switch.livingroom_light_living_room_light:
      name: Living Room Light