Refactor netatmo to use hass.data (#23429)

* Refactor NETATMO_AUTH to use hass.data

* Minor cleanup

* Rename conf to auth and other suggestions by Martin

* Revert webhook name change

* Rename constant

* Move auth

* Don't use hass.data.get()

* Fix auth string
This commit is contained in:
cgtobi authored and Martin Hjelmare committed 2019-04-26 17:15:37 +02:00
1 parent 5dbf58d67f
commit b84ba93c42
6 files changed
+44 -22

No files matched your search

@@ -0,0 +1,5 @@
"""Constants used by the Netatmo component."""
DOMAIN = 'netatmo'
DATA_NETATMO = 'netatmo'
DATA_NETATMO_AUTH = 'netatmo_auth'