I bought a Sonoff iFan03, and flashed it with Tasmota. I’ve been able to control the light/fan just fine from HA, but I’m unable to set the entities to a specific area - the device in the devices UI shows no associated entities. Any ideas on what might be preventing it from doing so?
As far as I can tell, discovery isn’t supported for fans, nor for combination devices like the iFan03.
If there’s an alternative here, I’m all ears.
EDIT: Spoke too soon - used the SetOption19 1 command to enable autodiscovery, and now have some devices in my registry. However, the format is quite wrong - I have a bunch of switches for each fan speed, which isn’t really ideal. Is there a way I could shoe-horn my custom configuration in to the discovery topic?
EDIT 2: I converted my snippet from the YAML file in to JSON, and manually published it to the discovery endpoint (with some minor modifications) - it worked great, until I rebooted HA. Is there a way to retain that configuration?
I’m kind of confused on what the big deal is to have entities listed as devices. Not just you but in general. There seems to be some confusion that if they aren’t listed as devices then you cant use them in automations.
You can do everything you might want to do using the fan entities (not devices) in your config. I have two iFan03’s and i dont use them as devices.
Why do you want them listed as devices? What are you missing if they aren’t?
Not quite - I’m still doing automations based on entities. It’s more for forwarding to Google Assistant via HA Cloud - per their documentation, looks like devices get room hints based on the area assigned to them in HA. This requires they be in the device registry.
And that was what I was wondering since there seems to be a growing misconception that if you don’t see your device in the device list then you can’t use any of the device in automations. Which obviously isn’t true.
Would you mind sharing your script to publish the sonoff ifan3 to the discovery end point. I’m having some issues, probably a real simple syntax error.