I am attempting to setup Netgear Enhanced component. For some reason, after entering the information in the configuration.yaml, switches.yaml, and sensors.yaml I run across the same error message when I check the configuration: “Platform error sensor.netgear_enhanced - Integration ‘netgear_enhanced’ not found.” I have copied the files from the Github page located here into the custom components folder as stated in the directions. I can confirm that they show up correctly in the custom components folder under 'netgear_enhanced" as well. Not quite sure what is causing the issue right now. I have an Orbi RBR50 with the following information in the configuration.yaml:
Just checking but in your config for host: !Secret_netgear_IP did you change it to your router’s IP?
Same for username: & password:. I’m not sure how the Secret file works as I haven’t gotten to anything I really need it for yet, but I don’t think how it’s setup on yours post looks correct. From the girhub it looks like if you have your username & password in the !secret file (secrets.yaml) you need to have a value in the file called whatever is after the !Secret (followed by a space not an “_”) !secret my_secret_netgear_user is the example & the field, I assume, but look it up if you are using it, in the secrets.yaml file would have to be my_secret_netgear_user: YOUR1PASSWORD for it to work.
Here’s my sensor.yaml file. Names have been changed to protect the innocent & all that.
You should also remove or #Comment out the fields you don’t need. Your router doesn’t have a lot of resources so you should avoid trying to get every piece of data, that alone could cause it to not work.
Also note that you have to be careful with capitals in YAML, !secret is not the same as !Secret & a lot of things in YAML & consequently Home Assistant, won’t work if you use capital letters, but they don’t usually tell you that’s why
Make sure all the files that you are using are enabled in configuration.yaml. Mine didn’t have sensor.yaml so I had to create it & add the line to configuration.yaml. The same if you are using the secrets.yaml file.
If you are adding directly to configuration.yaml for your integration (Not recommended) I believe there is more you need, but you can look up the formatting if you choose to do it that way.
If you are following the instructions the file you posted should be added to the sensor.yaml file. If you are adding the Switches that part should be added to the switch.yaml file.
I found this other Github that has better instructions & may be newer, plus it has a HACS Integration (What I was looking for when I found this post)