mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Bump hatasmota to 0.9.1 (#120649)
This commit is contained in:
parent
9aa2cc11e9
commit
54a5a3e3fb
@ -8,5 +8,5 @@
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["hatasmota"],
|
||||
"mqtt": ["tasmota/discovery/#"],
|
||||
"requirements": ["HATasmota==0.8.0"]
|
||||
"requirements": ["HATasmota==0.9.1"]
|
||||
}
|
||||
|
@ -190,6 +190,10 @@ SENSOR_DEVICE_CLASS_ICON_MAP: dict[str, dict[str, Any]] = {
|
||||
DEVICE_CLASS: SensorDeviceClass.ENERGY,
|
||||
STATE_CLASS: SensorStateClass.TOTAL,
|
||||
},
|
||||
hc.SENSOR_TOTAL_TARIFF: {
|
||||
DEVICE_CLASS: SensorDeviceClass.ENERGY,
|
||||
STATE_CLASS: SensorStateClass.TOTAL,
|
||||
},
|
||||
hc.SENSOR_TOTAL_START_TIME: {ICON: "mdi:progress-clock"},
|
||||
hc.SENSOR_TVOC: {ICON: "mdi:air-filter"},
|
||||
hc.SENSOR_VOLTAGE: {
|
||||
|
@ -22,7 +22,7 @@ DoorBirdPy==2.1.0
|
||||
HAP-python==4.9.1
|
||||
|
||||
# homeassistant.components.tasmota
|
||||
HATasmota==0.8.0
|
||||
HATasmota==0.9.1
|
||||
|
||||
# homeassistant.components.mastodon
|
||||
Mastodon.py==1.8.1
|
||||
|
@ -19,7 +19,7 @@ DoorBirdPy==2.1.0
|
||||
HAP-python==4.9.1
|
||||
|
||||
# homeassistant.components.tasmota
|
||||
HATasmota==0.8.0
|
||||
HATasmota==0.9.1
|
||||
|
||||
# homeassistant.components.doods
|
||||
# homeassistant.components.generic
|
||||
|
@ -232,7 +232,10 @@
|
||||
# name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'Tasmota ENERGY TotalTariff 0',
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.tasmota_energy_totaltariff_0',
|
||||
@ -247,7 +250,9 @@
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
@ -264,7 +269,7 @@
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'ENERGY TotalTariff 0',
|
||||
'platform': 'tasmota',
|
||||
@ -272,13 +277,16 @@
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '00000049A3BC_sensor_sensor_ENERGY_TotalTariff_0',
|
||||
'unit_of_measurement': None,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].2
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'Tasmota ENERGY TotalTariff 1',
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.tasmota_energy_totaltariff_1',
|
||||
@ -293,7 +301,9 @@
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'capabilities': dict({
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
@ -310,7 +320,7 @@
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
|
||||
'original_icon': None,
|
||||
'original_name': 'ENERGY TotalTariff 1',
|
||||
'platform': 'tasmota',
|
||||
@ -318,13 +328,16 @@
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': '00000049A3BC_sensor_sensor_ENERGY_TotalTariff_1',
|
||||
'unit_of_measurement': None,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].4
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'Tasmota ENERGY TotalTariff 0',
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.tasmota_energy_totaltariff_0',
|
||||
@ -337,7 +350,10 @@
|
||||
# name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].5
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'Tasmota ENERGY TotalTariff 1',
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.tasmota_energy_totaltariff_1',
|
||||
@ -350,7 +366,10 @@
|
||||
# name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].6
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'Tasmota ENERGY TotalTariff 0',
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.tasmota_energy_totaltariff_0',
|
||||
@ -363,7 +382,10 @@
|
||||
# name: test_controlling_state_via_mqtt[sensor_config2-entity_ids2-messages2].7
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'device_class': 'energy',
|
||||
'friendly_name': 'Tasmota ENERGY TotalTariff 1',
|
||||
'state_class': <SensorStateClass.TOTAL: 'total'>,
|
||||
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'sensor.tasmota_energy_totaltariff_1',
|
||||
|
Loading…
x
Reference in New Issue
Block a user