Skip to content

Commit

Permalink
Merge pull request #16 from bouwew/fix-15
Browse files Browse the repository at this point in the history
Remove `'device_class': None` lines
  • Loading branch information
bouwew committed Nov 21, 2021
2 parents 6ff7615 + b7ef3cd commit 776503e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions custom_components/sems2mqtt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ def create_device(model):
'icon':'mdi:current-ac',
'state_topic':'sems/sensors',
'state_class': STATE_CLASS_MEASUREMENT,
'device_class': None,
'unique_id':'sems_grid_frequency_sensor',
'device': create_device(data['type'])
}
Expand Down Expand Up @@ -372,7 +371,6 @@ def create_device(model):
'icon':'mdi:medical-bag',
'state_topic':'sems/sensors',
'state_class': STATE_CLASS_MEASUREMENT,
'device_class': None,
'unique_id':'sems_battery_soh_sensor',
'device': create_device(data['type'])
}
Expand Down
2 changes: 1 addition & 1 deletion custom_components/sems2mqtt/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"domain": "sems2mqtt",
"name": "Goodwe SEMS API to MQTT sensor",
"version": "0.4.4",
"version": "0.4.5",
"documentation": "https://github.com/bouwew/sems2mqtt",
"dependencies": [],
"codeowners": ["bouwew"],
Expand Down

0 comments on commit 776503e

Please sign in to comment.