What does your yaml code look like? Nothing needs to be downloaded as it’s already contained in your running system in this case. You might also look at the logs found in Configuration>Settings>Logs to see if there are any errors listed.
No errors in the log, and I copied/pasted from the sample for the Leviton Decora Wifi (with my credentials, of course).
From: Leviton Decora Wi-Fi - Home Assistant
Added to configuration.yaml:
I did the config check.
I restarted Home Assistant.
This is my first time adding any custom integration. I didn’t find a page that (simply) laid out steps for these (supposedly simple) custom integrations - maybe I missed something (fairly) obvious?
DId you edit the yaml directly or via the interface? If you added it directly then spacing can be important. Please preserve the spacing by using the </> icon in the menu of the response window and pasting your code between the resulting ‘’’ and ‘’’. The formatted text will appear to the right of the response window.
Under “Configuration > Server Controls”, “Check Configuration” reports “Configuration valid”.
When I restart, all works fine except the Leviton integration never appears.
My expectation is that Leviton will show up in “Configuration > Integrations” , is this correct?
Should username and password have no quotes (even though username has “@” and password has a non-alphanumeric character), single-quote, double-quote, back-quote, ?? I’ve tried only no quotes and double-quotes and single-quote, not back-quote (`).
When I check “home-assistant.log”, there’s lis little in there overall, and nothing about leviton:
No it won’t necessarily show up in integrations but I would expect it to be listed in “devices” somewhere. Integrations only shows those that are configured via the UI and this one seems to be setup via yaml. Quotes are typically not critical unless it’s a special name or it’s a string that starts with a number or there’s some other special character. Single or double quotes are equally fine. I think it’s likely either something else in your yaml prior to this declaration or the device is not on the network and so not found. Can you see the device in your router table?
I assume you can get to your devices via the native app which I guess is where your username and password came from. Also that you have rebooted your ha recently. Git indicates there was a request from Leviton to stop retrying to connect if the username/password fails to connect to their servers for whatever reason. In others words I’m guessing if ha fails to connect it won’t try again until you reboot ha. Also is it possible your account is blocked at Leviton for some reason? Beyond that I really don’t know. If none of that works try creating a new request as this one may not attract any more attention from folks online.
Yeah, rebooted the HA. (Trying it as HA native on Pi, HA on Pi, and HA in a docker container on Pi, but not at the same time.)
I’ll try the Git route, but am more of a novice at that than HA.
Question: Shouldn’t “something” show up in the logs, either way?
Yes, one would think. That’s one reason I was thinking something else in your configuration.yaml was causing the processing to stop before it got to your decora_wifi declaration.
I guess I need to find a simple test/dummy integration I can put in here to ensure the configuration.yaml is being properly read? Do you have one I can try?
I would add a logger: line to the configuration.yaml then reboot ha and examine the logs again. Also as I said before the Home Assistant OS route would be the installation I would use.