Skip to content
Snippets Groups Projects
Unverified Commit 3d2101ca authored by Peter Galantha's avatar Peter Galantha Committed by GitHub
Browse files

Add total state_class for esphome (#75015)

parent 54a939e2
No related branches found
No related tags found
Loading
......@@ -3,7 +3,7 @@
"name": "ESPHome",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/esphome",
"requirements": ["aioesphomeapi==10.10.0"],
"requirements": ["aioesphomeapi==10.11.0"],
"zeroconf": ["_esphomelib._tcp.local."],
"dhcp": [{ "registered_devices": true }],
"codeowners": ["@OttoWinter", "@jesserockz"],
......
......@@ -67,6 +67,7 @@ _STATE_CLASSES: EsphomeEnumMapper[
EsphomeSensorStateClass.NONE: None,
EsphomeSensorStateClass.MEASUREMENT: SensorStateClass.MEASUREMENT,
EsphomeSensorStateClass.TOTAL_INCREASING: SensorStateClass.TOTAL_INCREASING,
EsphomeSensorStateClass.TOTAL: SensorStateClass.TOTAL,
}
)
......
......@@ -150,7 +150,7 @@ aioeagle==1.1.0
aioemonitor==1.0.5
# homeassistant.components.esphome
aioesphomeapi==10.10.0
aioesphomeapi==10.11.0
# homeassistant.components.flo
aioflo==2021.11.0
......
......@@ -137,7 +137,7 @@ aioeagle==1.1.0
aioemonitor==1.0.5
# homeassistant.components.esphome
aioesphomeapi==10.10.0
aioesphomeapi==10.11.0
# homeassistant.components.flo
aioflo==2021.11.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment