mirror of
https://github.com/home-assistant/core.git
synced 2026-06-11 11:41:42 +02:00
37e5b98919
The exception we were catching incorrectly referenced the client variable in local scope instead of the module. Also, if we fail to connect we can get a requests exception, so catch and handle that as well.