0.77: Authentication system 👮♂️ + Hangouts bot 🤖
It’s time for a great new release and it includes a big change: the new authentication system has been activated! We’ve worked very hard on this for the last couple of months to make the transition as smooth as possible. Updating to this release is a non-breaking change (unless you had no API password configured). As can be seen in the video above, when you start Home Assistant after the update, you will be presented with our new onboarding flow. This will ask you to create a new account after which you will be able to log in to Home Assistant.
Once logged in, you will have access to the following new features:
- Change your password
- Configure multifactor authentication (TOTP)
- Manage other users (limited to account created during onboarding)
Although it’s possible to configure authentication, we strongly recommend to stick with the default authentication configuration. If you had auth providers configured in a previous Home Assistant release, we recommend to remove the configuration and start using the default.
It will take some time before all of the Home Assistant ecosystem has been migrated over to the new auth system. Home Assistant will print a warning whenever an application connects to Home Assistant with the legacy authentication. This will help users notify the application developers to transition to use the new OAuth2 authentication. For non-interactive scripts or other applications that are unable to update, we are planning to introduce a migration path for components to adopt url specific auth tokens and also introduce long lived access tokens to replace API passwords. A list of impacted components can be found here
Our iOS app will soon be updated to work with the new auth. It’s already in testing. The old app will continue to work with the legacy API password support. It will however require a second login when using the webview.
If you are using a proxy server (NGINX etc) in front of Home Assistant to provide authentication, check this blogpost
I want to say a biiiig thank you to all the people that have been involved in the development and testing of the new authentication system. It’s been a big project and it’s been great to see how we, as a community, have rallied together to tackle it. Especially a big shout out to @awarecan
Hangouts
And that’s not it ! @hobbypunk90
Lovelace
You didn’t think we would forget about Lovelace, did you? This release include a new notification drawer thanks to @jeradM
New Platforms
- Netatmo public (@colinfrei
- #15684 ) (sensor.netatmo_public docs) (new-platform) - Add ecovacs component (@OverloadUT
- #15520 ) (ecovacs docs) (vacuum.ecovacs docs) (new-platform) - Add support for NOAA tide information (new PR) (@jcconnell
- #15947 ) (sensor.noaa_tides docs) (new-platform) - Hangouts (@hobbypunk90
- #16049 ) (hangouts docs) (notify docs) (new-platform)
Release 0.77.1 - August 29
- Fix trusted networks login error (@awarecan
) - Fix data_key override by parent class (@syssi
- #16278 ) (binary_sensor.xiaomi_aqara docs) - Fix error when vacuum is idling (@cnrd
- #16282 ) (vacuum.xiaomi_miio docs)
Release 0.77.2 - August 31
- Correct wemo static device discovery issue. (@lamiskin
- #16292 ) (wemo docs) - Fix LIFX effects (@amelchio
- #16309 ) (light.lifx docs) - avoid error in debug log mode and rss entry without title (@exxamalte
- #16316 ) (feedreader docs) - Fix charts for climate devices (@jeradM
) - Fix header in Lovelace Glance cards (@balloob
) - Fix Profile page on Safari (@balloob
) - Fix redirect to login page on offline server (@balloob
)
Release 0.77.3 - September 3
Frontend changes only:
- Ask “save login” after hass connected PR
@awarecan - Show an error when invalid client id or redirect uri PR
@balloob - Disable autocapitalization of username field PR
@timmo001 - Upgrade MDI icons PR
@balloob - Update translations
If you need help…
…don’t hesitate to use our very active forums or join us for a little chat
Reporting Issues
Experiencing issues introduced by this release? Please report them in our issue tracker
Backward-incompatible changes
- Enable auth by default 🙈. It is no longer possible to access Home Assistant without authentication (@balloob
- #16107 ) (breaking change) - It’s no longer possible to use a trusted network to connect to the websocket API. You need to get a token and use that to connect. (@awarecan
- #15812 ) (auth docs) (http docs) (websocket_api docs) (breaking change) - Script Syntax: The wait template will now continue to run the remainder of the script on timeout, the original functionality can be gained by setting
continue_on_timeout: false
. Allow wait template to run the remainder of the script (@lhovo- #15836 ) (breaking change) - Update Xiaomi Vacuum to new StateVacuumDevice changed some services:
turn_on
->start
,turn_off
->return_to_dock
,toggle
has been removed. States ‘on’ and ‘off’ will also no longer be used. (@cnrd- #15643 ) (breaking change) - Update neato to support new StateVacuumDevice changed some services:
turn_on
->start
,turn_off
->return_to_dock
,toggle
has been removed. States ‘on’ and ‘off’ will also no longer be used. (@dshokouhi- #16035 ) (vacuum.neato docs) (breaking change) - The previously deprecated package
homeassistant.remote
has been removed. (@balloob- #16099 ) (api docs) (http docs) (mqtt_eventstream docs) (mqtt_statestream docs) (notify docs) (splunk docs) (websocket_api docs) (breaking change) - Merge
insteon_plm
andinsteon_local
components to insteon component (@teharris1- #16102 ) (breaking change) - Remove unit_of_measurement from climate entities (@jeradM
- #16012 ) (climate docs) (climate.generic_thermostat docs) (climate.knx docs) (climate.maxcube docs) (climate.sensibo docs) (breaking change) - Upnp component no longer enables port mapping by default (@dgomes
- #16108 ) (upnp docs) (breaking change) - The entity registry yaml file has been removed. It is now stored inside
.storage
and should only be managed via the UI (@balloob- #16018 )
Beta Fixes
- deCONZ - Support device registry (@Kane610
- #16115 ) (deconz docs) (binary_sensor.deconz docs) (light.deconz docs) (sensor.deconz docs) (switch.deconz docs) (beta fix) - Add multi-factor auth module setup flow (@awarecan
- #16141 ) (auth docs) (beta fix) - Decouple Konnected entity setup from discovery (@heythisisnate
- #16146 ) (konnected docs) (switch.konnected docs) (beta fix) - Device registry store config entry (@Kane610
- #16152 ) (beta fix) - fix error message for cv.matches_regex (@heythisisnate
- #16175 ) (beta fix) - Fix hangouts (@balloob
- #16180 ) (hangouts docs) (beta fix) - Tweak log level for bearer token warning (@awarecan
- #16182 ) (http docs) (beta fix) - Default load trusted_network auth provider if configured trusted networks (@awarecan
- #16184 ) (beta fix) - Replace pbkdf2 with bcrypt (@Eriner
- #16071 ) (beta fix) - Add Time-based Onetime Password Multi-factor Authentication Module (@awarecan
- #16129 ) (beta fix) - Handle exception from pillow (@PhracturedBlue
- #16190 ) (camera.proxy docs) (beta fix) - remove hangouts.users state, simplifies hangouts.conversations (@hobbypunk90
- #16191 ) (hangouts docs) (beta fix) - Update aiohttp to version 3.4.0. (@Swamp-Ig
- #16198 ) (beta fix) - Revert changes to platforms using self.device (@Kane610
- #16209 ) (beta fix) - homematic: Make device available again when UNREACH becomes False (@klada
- #16202 ) (homematic docs) (beta fix) - Change auth warning (@balloob
- #16216 ) (http docs) (beta fix) - rewrite hangouts to use intents instead of commands (@hobbypunk90
- #16220 ) (conversation docs) (hangouts docs) (beta fix) - Fix device telldus (@balloob
- #16224 ) (tellduslive docs) (beta fix) - Update trusted networks flow (@balloob
- #16227 ) (beta fix) - Fix hangouts (@balloob
- #16232 ) (hangouts docs) (beta fix) - Warning missed a space (@balloob
- #16233 ) (http docs) (beta fix) - Package loadable: compare case insensitive (@balloob
- #16234 ) (beta fix) - Avoid insecure pycryptodome (@balloob
- #16238 ) (beta fix) - Change log level to error when auth provider failed loading (@awarecan
- #16235 ) (beta fix) - Blow up startup if init auth providers or modules failed (@awarecan
- #16240 ) (beta fix) - Tweak MFA login flow (@awarecan
- #16254 ) (beta fix) - def device should not call it self but self._device (@Kane610
- #16255 ) (media_player.plex docs) (beta fix)
All changes
- Eph ember support operation modes (@ttroy50
- #15820 ) (climate.ephember docs) - Fixed race condition in Generic Thermostat (@aronsky
- #15784 ) (climate.generic_thermostat docs) - Fix magic cube support of the Aqara LAN Protocol V2 (@syssi
- #15940 ) (binary_sensor.xiaomi_aqara docs) - Upgrade beautifulsoup4 to 4.6.3 (@fabaff
- #15946 ) (device_tracker docs) (sensor.geizhals docs) (sensor.scrape docs) - Allow wait template to run the remainder of the script (@lhovo
- #15836 ) (breaking change) - Add trusted networks auth provider (@awarecan
- #15812 ) (auth docs) (http docs) (websocket_api docs) (breaking change) - Add monitored conditions for Unifi device_tracker (@cgarwood
- #15888 ) (device_tracker docs) - Netatmo public (@colinfrei
- #15684 ) (sensor.netatmo_public docs) (new-platform) - Update Xiaomi Vacuum to new StateVacuumDevice (@cnrd
- #15643 ) (breaking change) - HomeMatic: Enable entity registry (@danielperna84
- #15950 ) (homematic docs) - Fix google calendar documentation link. (@cgtobi
- #15968 ) (calendar.google docs) - Remove unnecessary log (@colinfrei
- #15966 ) (sensor.netatmo_public docs) - Make setup fail if location is not available (@fabaff
- #15967 ) (sensor.worldtidesinfo docs) - Remove warning (@balloob
- #15969 ) - Update waterfurnace library to 0.7, add reconnect logic (@sdague
- #15657 ) (waterfurnace docs) - adds support for momentary and beep/blink switches (@heythisisnate
- #15973 ) (konnected docs) (switch.konnected docs) - Add -j$(nproc) make option to speed up build time (@vrih
- #15928 ) - Update Glances sensor (@fabaff
- #15981 ) (sensor.glances docs) - Upgrade psutil to 5.4.7 (@fabaff
- #15982 ) (sensor.systemmonitor docs) - Upgrade aladdin_connect to 0.3 and provide Unique ID (@shoejosh
- #15986 ) (cover.aladdin_connect docs) - Entity service (@balloob
- #15991 ) - More entity service (@balloob
- #15998 ) (camera docs) (climate docs) - Wemo custom ports and network errors handling (@mcspr
- #14516 ) (wemo docs) (binary_sensor.wemo docs) (light.wemo docs) (switch.wemo docs) - Clean up input-datetime (@balloob
- #16000 ) (input_datetime docs) - BMW Connected drive: option to disable the services (@Alexxander0
- #15993 ) (bmw_connected_drive docs) (lock.bmw_connected_drive docs) - Add type hints to homeassistant.auth (@scop
- #15853 ) - Fix check config packages key error (@MartinHjelmare
- #15840 ) - Update SoCo to 0.16 (@amelchio
- #16007 ) (sonos docs) (media_player.sonos docs) - Upgrade sendgrid to 5.5.0 (@fabaff
- #16021 ) (notify docs) - Split out storage delay save (@balloob
- #16017 ) (hassio docs) - Disable assuming Optional type for values with None default (@scop
- #16029 ) - Update RitAssist to support maximum speed and current address (@depl0y
- #16037 ) (device_tracker docs) - Handle missing mpd capabilities (@logic
- #15945 ) (media_player.mpd docs) - Storage entity registry (@balloob
- #16018 ) - Attempt to fix flaky TTS test (@balloob
- #16025 ) - Update neato to support new StateVacuumDevice (@dshokouhi
- #16035 ) (vacuum.neato docs) (breaking change) - vacuum/xiaomi_miio: Expose “sensor_dirty_left” attribute (@klada
- #16003 ) (vacuum.xiaomi_miio docs) - Grammar and spelling fixes (@scop
- #16065 ) - Use aiohttp web.AppRunner (@balloob
- #16020 ) (http docs) - Update pushsafer.py (@appzer
- #16060 ) (notify docs) - Alexa: context + log events (@balloob
- #16023 ) (alexa docs) - openuv: Add Current UV Level to list of conditions (@leppa
- #16042 ) (openuv docs) (sensor.openuv docs) - TpLink Device Tracker Error (@TimBailey-pnk
- #15918 ) (device_tracker docs) - Deprecated stuff (@balloob
- #16019 ) (device_tracker docs) (websocket_api docs) (camera.push docs) - Add recent context (@balloob
- #15989 ) - Add ecovacs component (@OverloadUT
- #15520 ) (ecovacs docs) (vacuum.ecovacs docs) (new-platform) - Bumped NDMS2 client library to 0.0.4 to get compatible with python 3.5 (@foxel
- #16077 ) (device_tracker docs) - fritzdect change to current_power_w (@Danielhiversen
- #16079 ) - Update pyhomematic to 0.1.47 (@danielperna84
- #16083 ) (homematic docs) - Get user after login flow finished (@awarecan
- #16047 ) (auth docs) - Upgrade pytest to 3.7.2 (@scop
- #16091 ) - Add verify ssl to generic camera (@fliphess
- #15949 ) (camera.generic docs) - Upgrade afsapi to 0.0.4, prevents aiohttp session close message, Fixes #13099 (@zhelev
- #16098 ) (media_player.frontier_silicon docs) - Remove homeassistant.remote (@balloob
- #16099 ) (api docs) (http docs) (mqtt_eventstream docs) (mqtt_statestream docs) (notify docs) (splunk docs) (websocket_api docs) (breaking change) - Use new session when fetching remote urls (@balloob
- #16093 ) (auth docs) - Allow finish_flow callback to change data entry result type (@awarecan
- #16100 ) - Add support for revoking refresh tokens (@balloob
- #16095 ) (auth docs) - Refactoring login flow (@awarecan
- #16104 ) - Minor updates (@fabaff
- #16106 ) - Bump python-miio version (@syssi
- #16110 ) (device_tracker docs) (fan.xiaomi_miio docs) (light.xiaomi_miio docs) (remote.xiaomi_miio docs) (sensor.xiaomi_miio docs) (switch.xiaomi_miio docs) (vacuum.xiaomi_miio docs) - homematic: Add homematic.put_paramset service (@klada
- #16024 ) (homematic docs) - Upgrade shodan to 1.9.1 (@fabaff
- #16113 ) (sensor.shodan docs) - Upgrade sendgrid to 5.6.0 (@fabaff
- #16111 ) (notify docs) - Merge insteon_plm and insteon_local to insteon component (@teharris1
- #16102 ) (breaking change) - Remove unit_of_measurement from climate entities (@jeradM
- #16012 ) (climate docs) (climate.generic_thermostat docs) (climate.knx docs) (climate.maxcube docs) (climate.sensibo docs) (breaking change) - Add multi-factor authentication modules (@awarecan
- #15489 ) (config docs) - Device Registry (@Kane610
- #15980 ) - Check correctly if package is loadable (@balloob
- #16121 ) - Upgrade numpy to 1.15.1 (@fabaff
- #16126 ) (binary_sensor.trend docs) (image_processing.opencv docs) - Upgrade youtube_dl to 2018.08.22 (@fabaff
- #16125 ) (media_extractor docs) - Fix the protocol v2 data_key of several aqara devices (@syssi
- #16112 ) (binary_sensor.xiaomi_aqara docs) - Upgrade brunt package (@eavanvalkenburg
- #16130 ) (cover.brunt docs) - Add support for NOAA tide information (new PR) (@jcconnell
- #15947 ) (sensor.noaa_tides docs) (new-platform) - Adds support for routers implementing IGDv2 (@dgomes
- #16108 ) (upnp docs) (breaking change) - Add support for JS modules in custom panels (@villanyibalint
- #16096 ) (panel_custom docs) - Prevent legacy api password with empty password (@balloob
- #16127 ) - Enable auth by default 🙈 (@balloob
- #16107 ) (breaking change) - Remove commented out API password from default config (@balloob
- #16147 ) - Spelling fixes (@scop
- #16150 ) (insteon_local docs) (insteon_plm docs) - Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 (@scop
- #14557 ) - Hangouts (@hobbypunk90
- #16049 ) (hangouts docs) (notify docs) (new-platform) - Hangouts localization typo fix (@armills
- #16174 ) (hangouts docs) - deCONZ - Allow sub second light transitions (@Kane610
- #16170 ) (light.deconz docs) - add_devices -> add_entities (@balloob
- #16171 ) - deCONZ - Support device registry (@Kane610
- #16115 ) (deconz docs) (binary_sensor.deconz docs) (light.deconz docs) (sensor.deconz docs) (switch.deconz docs) (beta fix) - Add multi-factor auth module setup flow (@awarecan
- #16141 ) (auth docs) (beta fix) - Decouple Konnected entity setup from discovery (@heythisisnate
- #16146 ) (konnected docs) (switch.konnected docs) (beta fix) - Device registry store config entry (@Kane610
- #16152 ) (beta fix) - fix error message for cv.matches_regex (@heythisisnate
- #16175 ) (beta fix) - Fix hangouts (@balloob
- #16180 ) (hangouts docs) (beta fix) - Tweak log level for bearer token warning (@awarecan
- #16182 ) (http docs) (beta fix) - Default load trusted_network auth provider if configured trusted networks (@awarecan
- #16184 ) (beta fix) - Replace pbkdf2 with bcrypt (@Eriner
- #16071 ) (beta fix) - Add Time-based Onetime Password Multi-factor Authentication Module (@awarecan
- #16129 ) (beta fix) - Handle exception from pillow (@PhracturedBlue
- #16190 ) (camera.proxy docs) (beta fix) - remove hangouts.users state, simplifies hangouts.conversations (@hobbypunk90
- #16191 ) (hangouts docs) (beta fix) - Update aiohttp to version 3.4.0. (@Swamp-Ig
- #16198 ) (beta fix) - Revert changes to platforms using self.device (@Kane610
- #16209 ) (beta fix) - homematic: Make device available again when UNREACH becomes False (@klada
- #16202 ) (homematic docs) (beta fix) - Change auth warning (@balloob
- #16216 ) (http docs) (beta fix) - rewrite hangouts to use intents instead of commands (@hobbypunk90
- #16220 ) (conversation docs) (hangouts docs) (beta fix) - Fix device telldus (@balloob
- #16224 ) (tellduslive docs) (beta fix) - Update trusted networks flow (@balloob
- #16227 ) (beta fix) - Fix hangouts (@balloob
- #16232 ) (hangouts docs) (beta fix) - Warning missed a space (@balloob
- #16233 ) (http docs) (beta fix) - Package loadable: compare case insensitive (@balloob
- #16234 ) (beta fix) - Avoid insecure pycryptodome (@balloob
- #16238 ) (beta fix) - Change log level to error when auth provider failed loading (@awarecan
- #16235 ) (beta fix) - Blow up startup if init auth providers or modules failed (@awarecan
- #16240 ) (beta fix) - Tweak MFA login flow (@awarecan
- #16254 ) (beta fix) - def device should not call it self but self._device (@Kane610
- #16255 ) (media_player.plex docs) (beta fix)