core/homeassistant
Antonio Larrosa 2d6d6ba90e Forget auth token when going offline so we can reconnect (#26630)
When an amcrest camera was unplugged and then plugged again
it was impossible to reconnect to it, since the old
auth token was reused while we need to use a new one.

In fact, the method that is called every minute to check
the camera availability is going to fail always since we're
reusing an old token.

By forgetting the token (setting it to None) when going offline,
we ensure that we'll regenerate it in the next commands thus allowing
to reconnect to the camera when it comes back online.
2019-10-17 11:29:08 +02:00
..
auth Remove direct authentication via trusted networks or API password (#27656) 2019-10-14 14:56:45 -07:00
components Forget auth token when going offline so we can reconnect (#26630) 2019-10-17 11:29:08 +02:00
generated Add abode config entries and device registry (#26699) 2019-10-13 20:01:04 +02:00
helpers Handle empty service in script action gracefully (#27467) 2019-10-12 12:28:47 -07:00
scripts Removes unnecessary else/elif blocks (#26884) 2019-09-24 13:53:03 -07:00
util Add cache for mypy (#27745) 2019-10-16 17:37:24 +02:00
__init__.py
__main__.py Removes unnecessary print_function future import (#26888) 2019-09-24 21:29:57 -07:00
bootstrap.py Deprecate Python 3.6 support, 3.8.0 is out (#27680) 2019-10-15 10:04:58 +02:00
config.py Fix config imports (#27669) 2019-10-15 16:15:26 -07:00
config_entries.py Migrate legacy typehints in core to PEP-526 (#26403) 2019-09-03 20:36:04 -07:00
const.py Remove direct authentication via trusted networks or API password (#27656) 2019-10-14 14:56:45 -07:00
core.py Upgrade pylint (#27279) 2019-10-07 08:17:39 -07:00
data_entry_flow.py Type hint additions (#26831) 2019-09-29 20:07:49 +03:00
exceptions.py
loader.py Improve validation of device trigger config (#26910) 2019-09-27 17:48:48 +02:00
monkey_patch.py
package_constraints.txt Updated frontend to 20191014.0 (#27661) 2019-10-14 13:07:47 -07:00
requirements.py
setup.py Cleanup coroutine threadsafe (#27080) 2019-10-01 16:59:06 +02:00