Merge pull request #43102 from home-assistant/rc

Co-authored-by: Sören Oldag <soeren_oldag@freenet.de>
Co-authored-by: Hmmbob <33529490+hmmbob@users.noreply.github.com>
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
This commit is contained in:
Franck Nijhof 2020-11-11 18:30:59 +01:00 committed by GitHub
commit 7c783dc1b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 17 additions and 18 deletions

View file

@ -362,6 +362,7 @@ homeassistant/components/rmvtransport/* @cgtobi
homeassistant/components/roku/* @ctalkington
homeassistant/components/roomba/* @pschmitt @cyr-ius @shenxn
homeassistant/components/roon/* @pavoni
homeassistant/components/rpi_gpio_pwm/* @soldag
homeassistant/components/rpi_power/* @shenxn @swetoast
homeassistant/components/ruckus_unleashed/* @gabe565
homeassistant/components/safe_mode/* @home-assistant/core

View file

@ -2,6 +2,6 @@
"domain": "google_translate",
"name": "Google Translate Text-to-Speech",
"documentation": "https://www.home-assistant.io/integrations/google_translate",
"requirements": ["gTTS-token==1.1.3"],
"requirements": ["gTTS-token==1.1.4"],
"codeowners": []
}

View file

@ -289,6 +289,8 @@ class PlexFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
async def async_step_plex_website_auth(self):
"""Begin external auth flow on Plex website."""
self.hass.http.register_view(PlexAuthorizationCallbackView)
hass_url = get_url(self.hass)
headers = {"Origin": hass_url}
payload = {
"X-Plex-Device-Name": X_PLEX_DEVICE_NAME,
"X-Plex-Version": X_PLEX_VERSION,
@ -298,9 +300,9 @@ class PlexFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
"X-Plex-Model": "Plex OAuth",
}
session = async_get_clientsession(self.hass)
self.plexauth = PlexAuth(payload, session)
self.plexauth = PlexAuth(payload, session, headers)
await self.plexauth.initiate_auth()
forward_url = f"{get_url(self.hass)}{AUTH_CALLBACK_PATH}?flow_id={self.flow_id}"
forward_url = f"{hass_url}{AUTH_CALLBACK_PATH}?flow_id={self.flow_id}"
auth_url = self.plexauth.auth_url(forward_url)
return self.async_external_step(step_id="obtain_token", url=auth_url)

View file

@ -4,9 +4,9 @@
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/plex",
"requirements": [
"plexapi==4.1.1",
"plexauth==0.0.5",
"plexwebsocket==0.0.12"
"plexapi==4.1.1",
"plexauth==0.0.6",
"plexwebsocket==0.0.12"
],
"dependencies": ["http"],
"after_dependencies": ["sonos"],

View file

@ -123,9 +123,6 @@ class PwmSimpleLed(LightEntity, RestoreEntity):
self._brightness = last_state.attributes.get(
"brightness", DEFAULT_BRIGHTNESS
)
self._led.set(
is_on=self._is_on, brightness=_from_hass_brightness(self._brightness)
)
@property
def should_poll(self):
@ -199,7 +196,6 @@ class PwmRgbLed(PwmSimpleLed):
last_state = await self.async_get_last_state()
if last_state:
self._color = last_state.attributes.get("hs_color", DEFAULT_COLOR)
self._led.set(color=_from_hass_color(self._color))
@property
def hs_color(self):

View file

@ -2,6 +2,6 @@
"domain": "rpi_gpio_pwm",
"name": "pigpio Daemon PWM LED",
"documentation": "https://www.home-assistant.io/integrations/rpi_gpio_pwm",
"requirements": ["pwmled==1.6.6"],
"codeowners": []
"requirements": ["pwmled==1.6.7"],
"codeowners": ["@soldag"]
}

View file

@ -1,7 +1,7 @@
"""Constants used by Home Assistant components."""
MAJOR_VERSION = 0
MINOR_VERSION = 117
PATCH_VERSION = "5"
PATCH_VERSION = "6"
__short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}"
__version__ = f"{__short_version__}.{PATCH_VERSION}"
REQUIRED_PYTHON_VER = (3, 7, 1)

View file

@ -619,7 +619,7 @@ freesms==0.1.2
fritzconnection==1.2.0
# homeassistant.components.google_translate
gTTS-token==1.1.3
gTTS-token==1.1.4
# homeassistant.components.garmin_connect
garminconnect==0.1.13
@ -1124,7 +1124,7 @@ pizzapi==0.0.3
plexapi==4.1.1
# homeassistant.components.plex
plexauth==0.0.5
plexauth==0.0.6
# homeassistant.components.plex
plexwebsocket==0.0.12
@ -1182,7 +1182,7 @@ pushbullet.py==0.11.0
pushover_complete==1.1.1
# homeassistant.components.rpi_gpio_pwm
pwmled==1.6.6
pwmled==1.6.7
# homeassistant.components.august
py-august==0.25.0

View file

@ -302,7 +302,7 @@ fnvhash==0.1.0
foobot_async==0.3.2
# homeassistant.components.google_translate
gTTS-token==1.1.3
gTTS-token==1.1.4
# homeassistant.components.garmin_connect
garminconnect==0.1.13
@ -541,7 +541,7 @@ pillow==7.2.0
plexapi==4.1.1
# homeassistant.components.plex
plexauth==0.0.5
plexauth==0.0.6
# homeassistant.components.plex
plexwebsocket==0.0.12