Bump hatasmota to 0.2.19 (#52246)
This commit is contained in:
parent
5e721b2566
commit
c86b563fe1
4 changed files with 9 additions and 9 deletions
|
@ -3,7 +3,7 @@
|
|||
"name": "Tasmota",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/tasmota",
|
||||
"requirements": ["hatasmota==0.2.18"],
|
||||
"requirements": ["hatasmota==0.2.19"],
|
||||
"dependencies": ["mqtt"],
|
||||
"mqtt": ["tasmota/discovery/#"],
|
||||
"codeowners": ["@emontnemery"],
|
||||
|
|
|
@ -750,7 +750,7 @@ hass-nabucasa==0.43.0
|
|||
hass_splunk==0.1.1
|
||||
|
||||
# homeassistant.components.tasmota
|
||||
hatasmota==0.2.18
|
||||
hatasmota==0.2.19
|
||||
|
||||
# homeassistant.components.jewish_calendar
|
||||
hdate==0.10.2
|
||||
|
|
|
@ -423,7 +423,7 @@ hangups==0.4.14
|
|||
hass-nabucasa==0.43.0
|
||||
|
||||
# homeassistant.components.tasmota
|
||||
hatasmota==0.2.18
|
||||
hatasmota==0.2.19
|
||||
|
||||
# homeassistant.components.jewish_calendar
|
||||
hdate==0.10.2
|
||||
|
|
|
@ -342,7 +342,7 @@ async def test_bad_indexed_sensor_state_via_mqtt(hass, mqtt_mock, setup_tasmota)
|
|||
state = hass.states.get("sensor.tasmota_energy_apparentpower_1")
|
||||
assert state.state == "9.0"
|
||||
state = hass.states.get("sensor.tasmota_energy_apparentpower_2")
|
||||
assert state.state == STATE_UNKNOWN
|
||||
assert state.state == "5.6"
|
||||
|
||||
async_fire_mqtt_message(
|
||||
hass, "tasmota_49A3BC/tele/SENSOR", '{"ENERGY":{"ApparentPower":2.3}}'
|
||||
|
@ -350,9 +350,9 @@ async def test_bad_indexed_sensor_state_via_mqtt(hass, mqtt_mock, setup_tasmota)
|
|||
state = hass.states.get("sensor.tasmota_energy_apparentpower_0")
|
||||
assert state.state == "2.3"
|
||||
state = hass.states.get("sensor.tasmota_energy_apparentpower_1")
|
||||
assert state.state == STATE_UNKNOWN
|
||||
assert state.state == "9.0"
|
||||
state = hass.states.get("sensor.tasmota_energy_apparentpower_2")
|
||||
assert state.state == STATE_UNKNOWN
|
||||
assert state.state == "5.6"
|
||||
|
||||
# Test polled state update
|
||||
async_fire_mqtt_message(
|
||||
|
@ -378,7 +378,7 @@ async def test_bad_indexed_sensor_state_via_mqtt(hass, mqtt_mock, setup_tasmota)
|
|||
state = hass.states.get("sensor.tasmota_energy_apparentpower_1")
|
||||
assert state.state == "9.0"
|
||||
state = hass.states.get("sensor.tasmota_energy_apparentpower_2")
|
||||
assert state.state == STATE_UNKNOWN
|
||||
assert state.state == "5.6"
|
||||
|
||||
async_fire_mqtt_message(
|
||||
hass,
|
||||
|
@ -388,9 +388,9 @@ async def test_bad_indexed_sensor_state_via_mqtt(hass, mqtt_mock, setup_tasmota)
|
|||
state = hass.states.get("sensor.tasmota_energy_apparentpower_0")
|
||||
assert state.state == "2.3"
|
||||
state = hass.states.get("sensor.tasmota_energy_apparentpower_1")
|
||||
assert state.state == STATE_UNKNOWN
|
||||
assert state.state == "9.0"
|
||||
state = hass.states.get("sensor.tasmota_energy_apparentpower_2")
|
||||
assert state.state == STATE_UNKNOWN
|
||||
assert state.state == "5.6"
|
||||
|
||||
|
||||
@pytest.mark.parametrize("status_sensor_disabled", [False])
|
||||
|
|
Loading…
Add table
Reference in a new issue