Skip to content

Commit

Permalink
Merge pull request #21 from chises/add-device-class-for-entities
Browse files Browse the repository at this point in the history
Fix Sensor DaysReach to show in days
  • Loading branch information
chises authored Dec 25, 2022
2 parents fb75137 + d5a8a70 commit fe7d2ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/oilfox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
],
"iot_class": "cloud_polling",
"loggers": ["oilfox_component"],
"version": "0.1.6"
"version": "0.1.7"
}
2 changes: 1 addition & 1 deletion custom_components/oilfox/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
TIME_DAYS,
"mdi:calendar-range",
"daysReach",
SensorDeviceClass.DURATION,
None,
],
"batteryLevel": [
"batteryLevel",
Expand Down

0 comments on commit fe7d2ff

Please sign in to comment.