Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
Added WH25BATT, WH80BATT and fixed missing comma from 'windspdms_avg10m'.
  • Loading branch information
GSzabados authored Oct 30, 2020
1 parent 935c72c commit efd3743
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion custom_components/ecowitt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@
TYPE_WH26BATT = "wh26batt"
TYPE_WH65BATT = "wh65batt"
TYPE_WH57BATT = "wh57batt"
TYPE_WH25BATT = "wh25batt"
TYPE_WH80BATT = "wh80batt"
TYPE_SOILBATT1 = "soilbatt1"
TYPE_SOILBATT2 = "soilbatt2"
TYPE_SOILBATT3 = "soilbatt3"
Expand Down Expand Up @@ -392,6 +394,10 @@
None, "mdi:battery", 0),
TYPE_WH57BATT: ("WH57 Battery", "BATT", TYPE_SENSOR,
None, "mdi:battery", 0),
TYPE_WH25BATT: ("WH25 Battery", "BATT", TYPE_SENSOR,
None, "mdi:battery", 0),
TYPE_WH80BATT: ("WH80 Battery", "BATT", TYPE_SENSOR,
None, "mdi:battery", 0),
TYPE_SOILBATT1: ("Soil Moisture 1 Battery", "BATT", TYPE_SENSOR,
None, "mdi:battery", 0),
TYPE_SOILBATT2: ("Soil Moisture 2 Battery", "BATT", TYPE_SENSOR,
Expand Down Expand Up @@ -456,7 +462,7 @@
'dateutc',
'windgustms',
'windspeedms',
'windspdms_avg10m'
'windspdms_avg10m',
'maxdailygustms',
'windchillf',
'dewpointf',
Expand Down

0 comments on commit efd3743

Please sign in to comment.