File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
custom_components/victron Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11{
22 "domain" : " victron" ,
33 "name" : " victron" ,
4+ "codeowners" : [
5+ " @sfstar"
6+ ],
47 "config_flow" : true ,
5- "integration_type " : " hub " ,
8+ "dependencies " : [] ,
69 "documentation" : " https://github.com/sfstar/hass-victron" ,
10+ "homekit" : {},
11+ "integration_type" : " hub" ,
12+ "iot_class" : " local_polling" ,
713 "issue_tracker" : " https://github.com/sfstar/hass-victron/issues" ,
814 "requirements" : [
915 " pymodbus==3.1.1"
1016 ],
1117 "ssdp" : [],
12- "zeroconf" : [],
13- "homekit" : {},
14- "dependencies" : [],
15- "codeowners" : [
16- " @sfstar"
17- ],
18- "iot_class" : " local_polling" ,
19- "version" : " 0.0.1"
18+ "version" : " 0.0.11" ,
19+ "zeroconf" : []
2020}
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ def determine_victron_device_class(name, unit):
9797 elif unit in [member .value for member in UnitOfTemperature ]:
9898 return SensorDeviceClass .TEMPERATURE
9999 elif unit in [member .value for member in UnitOfVolume ]:
100- return SensorDeviceClass .VOLUME # Perhaps change this to water if only water is measured in volume units
100+ return SensorDeviceClass .VOLUME_STORAGE # Perhaps change this to water if only water is measured in volume units
101101 elif unit in [member .value for member in UnitOfSpeed ]:
102102 if "meteo" in name :
103103 return SensorDeviceClass .WIND_SPEED
You can’t perform that action at this time.
0 commit comments