hass-core/homeassistant/generated/zeroconf.py
Franck Nijhof 7e4b9adc3d
Rewrite of Spotify integration (#30717)
* Rewrite of Spotify integration

* Update homeassistant/components/spotify/config_flow.py

Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>

* Remove configurator dependency

* Strip whitespace from device model in case Spotify product is missing

* Ensure domain dict exists in hass data on setup entry

* Simply config validation for client id and secret

* Abort flow on any exception from spotipy

* Add tests for config flow

* Gen requirements all

* Add test package __init__

* Remove Spotify from coveragerc

* Made alias handling more robuust

* Fix supported_features for Spotify free and open accounts

* Improve error message in the logs

* Re-implement Spotify media_player

* Change media content type when play a playlist

* Process review suggestions

* Move Spotify init, static current user and supported_features

* Remove unneeded me call

* Remove playlist content type due to frontend issues

* Improve playlist handling, when context is missing

* Handle entity disabled correctly

* Handle being offline/unavailable correctly

* Bump Spotipy to 2.7.1

* Update coverage RC, mark integration silver

* Remove URI limitation, lib supports all Spotify URI's now

* Final cleanup

* Addresses Pylint error

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-01-24 18:47:22 +01:00

49 lines
854 B
Python

"""Automatically generated by hassfest.
To update, run python3 -m script.hassfest
"""
# fmt: off
ZEROCONF = {
"_axis-video._tcp.local.": [
"axis"
],
"_coap._udp.local.": [
"tradfri"
],
"_elg._tcp.local.": [
"elgato"
],
"_esphomelib._tcp.local.": [
"esphome"
],
"_googlecast._tcp.local.": [
"cast"
],
"_hap._tcp.local.": [
"homekit_controller"
],
"_printer._tcp.local.": [
"brother"
],
"_spotify-connect._tcp.local.": [
"spotify"
],
"_viziocast._tcp.local.": [
"vizio"
],
"_wled._tcp.local.": [
"wled"
]
}
HOMEKIT = {
"BSB002": "hue",
"LIFX": "lifx",
"Netatmo Relay": "netatmo",
"Presence": "netatmo",
"TRADFRI": "tradfri",
"Welcome": "netatmo",
"Wemo": "wemo"
}