Add total state_class for esphome (#75015)

pull/75235/head
Peter Galantha 2022-07-14 12:14:25 -07:00 committed by GitHub
parent 54a939e223
commit 3d2101cac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -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"],

View File

@ -67,6 +67,7 @@ _STATE_CLASSES: EsphomeEnumMapper[
EsphomeSensorStateClass.NONE: None,
EsphomeSensorStateClass.MEASUREMENT: SensorStateClass.MEASUREMENT,
EsphomeSensorStateClass.TOTAL_INCREASING: SensorStateClass.TOTAL_INCREASING,
EsphomeSensorStateClass.TOTAL: SensorStateClass.TOTAL,
}
)

View File

@ -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

View File

@ -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