How to customize the import
I'm using the integration HA/HS, and working very well. Thank you for the great job. But I have some questions: When I finished the integration config some devices was imported not the way I would like, some sensor as generic, some lights as switches, sensor without sensor type (light, humid, etc). I read all the posts and I understood that I can adjust it using the correct " device type (string)"? The question is that the relation between what I have to put in that field for receive, for example, a humid sensor, or a presence sensor? Is there some table of relation?
Another thing that I can do is disable automatic import and add just the device that I need, configuring in yaml file. It is possible? There some documentation?
Thanks for any help
As the integration is currently written, there is no "custom" import. This could be written so that custom entries in configuration.yaml override what is automatically detected. But, this would be a fair amount of work and I don't see myself having time for it in the near future. I would welcome a PR to add this functionality if someone wants to work on it.
@marthoc @willyhabr
What if you change the integration to import the devices deactivated instead of activated, so you can activate manually what u need. so you can sort everything out.
because like me i have more than 1000 devices, a lot i don't use so i manually deactivate them now, and also because the recorder will record every state all the time and increase the log by a lot, and excluding every device in recorder is a lot of work, so deactivating is a lot easyer.
Would like to have an option when installing this integration to have all devices imported deactivated,
Would be great