diff --git a/CODEOWNERS b/CODEOWNERS index 87112840f5b..064c690903d 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -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 diff --git a/homeassistant/components/google_translate/manifest.json b/homeassistant/components/google_translate/manifest.json index c949e514d87..6d40b2f7a09 100644 --- a/homeassistant/components/google_translate/manifest.json +++ b/homeassistant/components/google_translate/manifest.json @@ -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": [] } diff --git a/homeassistant/components/plex/config_flow.py b/homeassistant/components/plex/config_flow.py index bdbdc9c6cc9..f177412e7ec 100644 --- a/homeassistant/components/plex/config_flow.py +++ b/homeassistant/components/plex/config_flow.py @@ -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) diff --git a/homeassistant/components/plex/manifest.json b/homeassistant/components/plex/manifest.json index f5bbc6ac53c..c459f97a966 100644 --- a/homeassistant/components/plex/manifest.json +++ b/homeassistant/components/plex/manifest.json @@ -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"], diff --git a/homeassistant/components/rpi_gpio_pwm/light.py b/homeassistant/components/rpi_gpio_pwm/light.py index f86d1f27832..0673047c6a7 100644 --- a/homeassistant/components/rpi_gpio_pwm/light.py +++ b/homeassistant/components/rpi_gpio_pwm/light.py @@ -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): diff --git a/homeassistant/components/rpi_gpio_pwm/manifest.json b/homeassistant/components/rpi_gpio_pwm/manifest.json index 2467673e950..35d09ea92bf 100644 --- a/homeassistant/components/rpi_gpio_pwm/manifest.json +++ b/homeassistant/components/rpi_gpio_pwm/manifest.json @@ -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"] } diff --git a/homeassistant/const.py b/homeassistant/const.py index 7b660116296..6e7056648d5 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -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) diff --git a/requirements_all.txt b/requirements_all.txt index c490cb121ea..bbb60c6e189 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -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 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 2e74a82e8c4..f71678da698 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -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