Skip to content

Commit 299cc5e

Browse files
authored
Fix sentence-casing of "CPU temperature" in fritz (home-assistant#152149)
1 parent 2c34561 commit 299cc5e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

homeassistant/components/fritz/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
"name": "Max connection upload throughput"
177177
},
178178
"cpu_temperature": {
179-
"name": "CPU Temperature"
179+
"name": "CPU temperature"
180180
}
181181
}
182182
},

tests/components/fritz/snapshots/test_sensor.ambr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@
855855
}),
856856
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
857857
'original_icon': None,
858-
'original_name': 'CPU Temperature',
858+
'original_name': 'CPU temperature',
859859
'platform': 'fritz',
860860
'previous_unique_id': None,
861861
'suggested_object_id': None,
@@ -869,7 +869,7 @@
869869
StateSnapshot({
870870
'attributes': ReadOnlyDict({
871871
'device_class': 'temperature',
872-
'friendly_name': 'Mock Title CPU Temperature',
872+
'friendly_name': 'Mock Title CPU temperature',
873873
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
874874
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
875875
}),

0 commit comments

Comments
 (0)