mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Bump hatasmota to 0.2.19 (#52246)
This commit is contained in:
parent
5e721b2566
commit
c86b563fe1
@ -3,7 +3,7 @@
|
|||||||
"name": "Tasmota",
|
"name": "Tasmota",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/tasmota",
|
"documentation": "https://www.home-assistant.io/integrations/tasmota",
|
||||||
"requirements": ["hatasmota==0.2.18"],
|
"requirements": ["hatasmota==0.2.19"],
|
||||||
"dependencies": ["mqtt"],
|
"dependencies": ["mqtt"],
|
||||||
"mqtt": ["tasmota/discovery/#"],
|
"mqtt": ["tasmota/discovery/#"],
|
||||||
"codeowners": ["@emontnemery"],
|
"codeowners": ["@emontnemery"],
|
||||||
|
@ -750,7 +750,7 @@ hass-nabucasa==0.43.0
|
|||||||
hass_splunk==0.1.1
|
hass_splunk==0.1.1
|
||||||
|
|
||||||
# homeassistant.components.tasmota
|
# homeassistant.components.tasmota
|
||||||
hatasmota==0.2.18
|
hatasmota==0.2.19
|
||||||
|
|
||||||
# homeassistant.components.jewish_calendar
|
# homeassistant.components.jewish_calendar
|
||||||
hdate==0.10.2
|
hdate==0.10.2
|
||||||
|
@ -423,7 +423,7 @@ hangups==0.4.14
|
|||||||
hass-nabucasa==0.43.0
|
hass-nabucasa==0.43.0
|
||||||
|
|
||||||
# homeassistant.components.tasmota
|
# homeassistant.components.tasmota
|
||||||
hatasmota==0.2.18
|
hatasmota==0.2.19
|
||||||
|
|
||||||
# homeassistant.components.jewish_calendar
|
# homeassistant.components.jewish_calendar
|
||||||
hdate==0.10.2
|
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")
|
state = hass.states.get("sensor.tasmota_energy_apparentpower_1")
|
||||||
assert state.state == "9.0"
|
assert state.state == "9.0"
|
||||||
state = hass.states.get("sensor.tasmota_energy_apparentpower_2")
|
state = hass.states.get("sensor.tasmota_energy_apparentpower_2")
|
||||||
assert state.state == STATE_UNKNOWN
|
assert state.state == "5.6"
|
||||||
|
|
||||||
async_fire_mqtt_message(
|
async_fire_mqtt_message(
|
||||||
hass, "tasmota_49A3BC/tele/SENSOR", '{"ENERGY":{"ApparentPower":2.3}}'
|
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")
|
state = hass.states.get("sensor.tasmota_energy_apparentpower_0")
|
||||||
assert state.state == "2.3"
|
assert state.state == "2.3"
|
||||||
state = hass.states.get("sensor.tasmota_energy_apparentpower_1")
|
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")
|
state = hass.states.get("sensor.tasmota_energy_apparentpower_2")
|
||||||
assert state.state == STATE_UNKNOWN
|
assert state.state == "5.6"
|
||||||
|
|
||||||
# Test polled state update
|
# Test polled state update
|
||||||
async_fire_mqtt_message(
|
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")
|
state = hass.states.get("sensor.tasmota_energy_apparentpower_1")
|
||||||
assert state.state == "9.0"
|
assert state.state == "9.0"
|
||||||
state = hass.states.get("sensor.tasmota_energy_apparentpower_2")
|
state = hass.states.get("sensor.tasmota_energy_apparentpower_2")
|
||||||
assert state.state == STATE_UNKNOWN
|
assert state.state == "5.6"
|
||||||
|
|
||||||
async_fire_mqtt_message(
|
async_fire_mqtt_message(
|
||||||
hass,
|
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")
|
state = hass.states.get("sensor.tasmota_energy_apparentpower_0")
|
||||||
assert state.state == "2.3"
|
assert state.state == "2.3"
|
||||||
state = hass.states.get("sensor.tasmota_energy_apparentpower_1")
|
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")
|
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])
|
@pytest.mark.parametrize("status_sensor_disabled", [False])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user