I decided to upgrade from 0.46.1 to 0.48.1 this weekend and had a weird issue I wanted to share. I went through the changeover from the old zwave entity ids to the new, updated my config, and set new_entity_ids = true. All of that went great.
I use the emulated hue component with my Echo so I had her forget all devices and relearn everything. That went great except my fans were missing. I have some GE fan control switches that were seen just fine by HomeAssistant but the emulated hue wasn’t exporting them. I did the debugging step of checking ‘http://XXXXX:8300/api/pi/lights’ and sure enough the fans were not being exported. My emulated hue component setup had the ‘fan’ domain listed under exposed_domains.
It wasn’t until I added an empty fan entity to my configuration.yaml that things started working right. I didn’t find that in the release notes or any of the documentation, I simply made an educated guess. So is that expected behavior and/or does the documentation need updating ?
I did it this way because I had so many devices (lights, fans, switches) showing up in alexa that it was having problems. I wanted some of my switches and things exposed by alexa, but not all of them. It was easier for me to select them and then I could name them whatever I wanted in here.
But back to the original problem, I have no idea why you had to specify “fan” in your configuration.yaml. That’s just strange.