8000 0.111.4 by balloob · Pull Request #36885 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0.111.4 #36885

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 17, 2020
Merged

0.111.4 #36885

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/axis/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Axis",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/axis",
"requirements": ["axis==30"],
"requirements": ["axis==31"],
"zeroconf": ["_axis-video._tcp.local."],
"after_dependencies": ["mqtt"],
"codeowners": ["@Kane610"]
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/daikin/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ async def async_step_discovery(self, discovery_info):

async def async_step_zeroconf(self, discovery_info):
"""Prepare configuration for a discovered Daikin device."""
_LOGGER.debug("Zeroconf discovery_info: %s", discovery_info)
devices = Discovery.poll(discovery_info[CONF_HOST])
_LOGGER.debug("Zeroconf user_input: %s", discovery_info)
devices = Discovery().poll(discovery_info[CONF_HOST])
await self.async_set_unique_id(next(iter(devices.values()))[KEY_MAC])
self._abort_if_unique_id_configured()
self.host = discovery_info[CONF_HOST]
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/llamalab_automate/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def send_message(self, message="", **kwargs):

# Extract params from data dict
data = dict(kwargs.get(ATTR_DATA) or {})
priority = data.get(ATTR_PRIORITY, "Normal")
priority = data.get(ATTR_PRIORITY, "normal").lower()

_LOGGER.debug(
"Sending to: %s, %s, prio: %s", self._recipient, str(self._device), priority
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/met/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"name": "Meteorologisk institutt (Met.no)",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/met",
"requirements": ["pyMetno==0.4.6"],
"requirements": ["pyMetno==0.5.1"],
"codeowners": ["@danielhiversen"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/norway_air/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"domain": "norway_air",
"name": "Om Luftkvalitet i Norge (Norway Air)",
"documentation": "https://www.home-assistant.io/integrations/norway_air",
"requirements": ["pyMetno==0.4.6"],
"requirements": ["pyMetno==0.5.1"],
"codeowners": []
}
4 changes: 2 additions & 2 deletions homeassistant/components/yr/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
DEVICE_CLASS_HUMIDITY,
DEVICE_CLASS_PRESSURE,
DEVICE_CLASS_TEMPERATURE,
HTTP_OK,
HTTP_BAD_REQUEST,
PRESSURE_HPA,
SPEED_METERS_PER_SECOND,
TEMP_CELSIUS,
Expand Down Expand Up @@ -187,7 +187,7 @@ def try_again(err: str):
websession = async_get_clientsession(self.hass)
with async_timeout.timeout(10):
resp = await websession.get(self._url, params=self._urlparams)
if resp.status != HTTP_OK:
if resp.status >= HTTP_BAD_REQUEST:
try_again(f"{resp.url} returned {resp.status}")
return
text = await resp.text()
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/const.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Constants used by Home Assistant components."""
MAJOR_VERSION = 0
MINOR_VERSION = 111
PATCH_VERSION = "3"
PATCH_VERSION = "4"
__short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}"
__version__ = f"{__short_version__}.{PATCH_VERSION}"
REQUIRED_PYTHON_VER = (3, 7, 0)
Expand Down
4 changes: 2 additions & 2 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ avea==1.4
avri-api==0.1.7

# homeassistant.components.axis
axis==30
axis==31

# homeassistant.components.azure_event_hub
azure-eventhub==5.1.0
Expand Down Expand Up @@ -1170,7 +1170,7 @@ pyHS100==0.3.5

# homeassistant.components.met
# homeassistant.components.norway_air
pyMetno==0.4.6
pyMetno==0.5.1

# homeassistant.components.rfxtrx
pyRFXtrx==0.25
Expand Down
4 changes: 2 additions & 2 deletions requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async-upnp-client==0.14.13
av==8.0.2

# homeassistant.components.axis
axis==30
axis==31

# homeassistant.components.homekit
base36==0.1.1
Expand Down Expand Up @@ -503,7 +503,7 @@ pyHS100==0.3.5

# homeassistant.components.met
# homeassistant.components.norway_air
pyMetno==0.4.6
pyMetno==0.5.1

# homeassistant.components.rfxtrx
pyRFXtrx==0.25
Expand Down
6 changes: 3 additions & 3 deletions tests/components/daikin/test_config_flow.py
Original file line number Diff line number Diff line ch 67E6 ange
Expand Up @@ -45,9 +45,9 @@ async def mock_daikin_factory(*args, **kwargs):
def mock_daikin_discovery():
"""Mock pydaikin Discovery."""
with patch("homeassistant.components.daikin.config_flow.Discovery") as Discovery:
Discovery.poll = PropertyMock(
return_value={"127.0.01": {"mac": "AABBCCDDEEFF", "id": "test"}}
)
Discovery().poll.return_value = {
"127.0.01": {"mac": "AABBCCDDEEFF", "id": "test"}
}
yield Discovery


Expand Down
0