mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Bump hatasmota to 0.7.1 (#99818)
This commit is contained in:
parent
f753f5af6e
commit
ff393f6b86
@ -8,5 +8,5 @@
|
|||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"loggers": ["hatasmota"],
|
"loggers": ["hatasmota"],
|
||||||
"mqtt": ["tasmota/discovery/#"],
|
"mqtt": ["tasmota/discovery/#"],
|
||||||
"requirements": ["HATasmota==0.7.0"]
|
"requirements": ["HATasmota==0.7.1"]
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ DoorBirdPy==2.1.0
|
|||||||
HAP-python==4.7.1
|
HAP-python==4.7.1
|
||||||
|
|
||||||
# homeassistant.components.tasmota
|
# homeassistant.components.tasmota
|
||||||
HATasmota==0.7.0
|
HATasmota==0.7.1
|
||||||
|
|
||||||
# homeassistant.components.mastodon
|
# homeassistant.components.mastodon
|
||||||
Mastodon.py==1.5.1
|
Mastodon.py==1.5.1
|
||||||
|
@ -28,7 +28,7 @@ DoorBirdPy==2.1.0
|
|||||||
HAP-python==4.7.1
|
HAP-python==4.7.1
|
||||||
|
|
||||||
# homeassistant.components.tasmota
|
# homeassistant.components.tasmota
|
||||||
HATasmota==0.7.0
|
HATasmota==0.7.1
|
||||||
|
|
||||||
# homeassistant.components.doods
|
# homeassistant.components.doods
|
||||||
# homeassistant.components.generic
|
# homeassistant.components.generic
|
||||||
|
@ -626,6 +626,16 @@ async def test_battery_sensor_state_via_mqtt(
|
|||||||
"unit_of_measurement": "%",
|
"unit_of_measurement": "%",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Test polled state update
|
||||||
|
async_fire_mqtt_message(
|
||||||
|
hass,
|
||||||
|
"tasmota_49A3BC/stat/STATUS11",
|
||||||
|
'{"StatusSTS":{"BatteryPercentage":50}}',
|
||||||
|
)
|
||||||
|
await hass.async_block_till_done()
|
||||||
|
state = hass.states.get("sensor.tasmota_battery_level")
|
||||||
|
assert state.state == "50"
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("status_sensor_disabled", [False])
|
@pytest.mark.parametrize("status_sensor_disabled", [False])
|
||||||
async def test_single_shot_status_sensor_state_via_mqtt(
|
async def test_single_shot_status_sensor_state_via_mqtt(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user