But for some reason when I go to: 192.168.123.50/api/pi/lights it shows {}
Why is my light.living_light not being shown? Do I need to create the entity somewhere in my config file as well?
Hello, no it doesn’t exist yet. Can I create the light.living_room entity somehow? I tried looking online but haven’t found it yet. I would like to expose a dummy light, which I can toggle with my harmony hub; then I will watch this dummy light and send a mqtt signal to an mqtt enabled switch.
Thanks everybody, stupid me thought that hue could only expose light entities. But if you are telling me I can expose the mqtt switch (which already exists in my HA); I will try that!
Will the exposed switches be listed under /api/pi/switches ? And the exposed domains, will be ‘switch’ then?
I use something very similar to the Emulated Hue integration. It makes everything appear to be a Philips Hue light.
I think your first step should be to create a switch entity using the MQTT Switch integration. Once you have it working properly, it’s simple to add the switch to the Emulated Hue integration.