Skip to content

Commit fc46268

Browse files
Change entity name case
1 parent 5bab129 commit fc46268

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

custom_components/battery_notes/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"integration_type": "device",
1010
"iot_class": "calculated",
1111
"issue_tracker": "https://github.com/andrew-codechimp/ha-battery-notes/issues",
12-
"version": "0.1.1"
12+
"version": "0.1.2"
1313
}

custom_components/battery_notes/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def __init__(
157157
device_registry = dr.async_get(hass)
158158

159159
self._attr_unique_id = unique_id
160-
self._attr_name = name + " Battery Type"
160+
self._attr_name = name + " Battery type"
161161
self._device_id = device_id
162162

163163
self._device_id = device_id

custom_components/battery_notes/translations/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"data": {
77
"device_id": "Device",
88
"name": "Name",
9-
"battery_type": "Battery Type"
9+
"battery_type": "Battery type"
1010
},
1111
"data_description": {
1212
"name": "Leaving blank will take the name from the source device"
@@ -26,7 +26,7 @@
2626
"description": "If you need help with the configuration have a look here: https://github.com/andrew-codechimp/ha-battery-notes",
2727
"data": {
2828
"name": "Name",
29-
"battery_type": "Battery Type"
29+
"battery_type": "Battery type"
3030
},
3131
"data_description": {
3232
"name": "Leaving blank will take the name from the source device"

0 commit comments

Comments
 (0)