Upgrade hbmqtt to 0.9.4 (#16356)
* Upgrade to hbmqtt 0.9.4 * Lint * Typo
This commit is contained in:
parent
3797b6b012
commit
87eb6cd25a
4 changed files with 3 additions and 9 deletions
|
@ -13,7 +13,7 @@ import voluptuous as vol
|
||||||
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
REQUIREMENTS = ['hbmqtt==0.9.2']
|
REQUIREMENTS = ['hbmqtt==0.9.4']
|
||||||
DEPENDENCIES = ['http']
|
DEPENDENCIES = ['http']
|
||||||
|
|
||||||
# None allows custom config to be created through generate_config
|
# None allows custom config to be created through generate_config
|
||||||
|
|
|
@ -430,7 +430,7 @@ hangups==0.4.5
|
||||||
haversine==0.4.5
|
haversine==0.4.5
|
||||||
|
|
||||||
# homeassistant.components.mqtt.server
|
# homeassistant.components.mqtt.server
|
||||||
hbmqtt==0.9.2
|
hbmqtt==0.9.4
|
||||||
|
|
||||||
# homeassistant.components.climate.heatmiser
|
# homeassistant.components.climate.heatmiser
|
||||||
heatmiserV3==0.9.1
|
heatmiserV3==0.9.1
|
||||||
|
|
|
@ -78,7 +78,7 @@ hangups==0.4.5
|
||||||
haversine==0.4.5
|
haversine==0.4.5
|
||||||
|
|
||||||
# homeassistant.components.mqtt.server
|
# homeassistant.components.mqtt.server
|
||||||
hbmqtt==0.9.2
|
hbmqtt==0.9.4
|
||||||
|
|
||||||
# homeassistant.components.binary_sensor.workday
|
# homeassistant.components.binary_sensor.workday
|
||||||
holidays==0.9.6
|
holidays==0.9.6
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
"""The tests for the MQTT component embedded server."""
|
"""The tests for the MQTT component embedded server."""
|
||||||
from unittest.mock import Mock, MagicMock, patch
|
from unittest.mock import Mock, MagicMock, patch
|
||||||
import sys
|
|
||||||
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from homeassistant.const import CONF_PASSWORD
|
from homeassistant.const import CONF_PASSWORD
|
||||||
from homeassistant.setup import setup_component
|
from homeassistant.setup import setup_component
|
||||||
|
@ -11,9 +8,6 @@ import homeassistant.components.mqtt as mqtt
|
||||||
from tests.common import get_test_home_assistant, mock_coro
|
from tests.common import get_test_home_assistant, mock_coro
|
||||||
|
|
||||||
|
|
||||||
# Until https://github.com/beerfactory/hbmqtt/pull/139 is released
|
|
||||||
@pytest.mark.skipif(sys.version_info[:2] >= (3, 7),
|
|
||||||
reason='Package incompatible with Python 3.7')
|
|
||||||
class TestMQTT:
|
class TestMQTT:
|
||||||
"""Test the MQTT component."""
|
"""Test the MQTT component."""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue