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