mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Spelling fixes to user-facing strings of tplink
(#143649)
* Fixes to user-facing strings of `tplink` - add missing hyphen to "auto-off" and "auto-update" - sentence-case one overlooked word * Update test_sensor.ambr * Update test_switch.ambr
This commit is contained in:
parent
a3a1d424c6
commit
3f7cae8583
@ -209,7 +209,7 @@
|
|||||||
"name": "Last water leak alert"
|
"name": "Last water leak alert"
|
||||||
},
|
},
|
||||||
"auto_off_at": {
|
"auto_off_at": {
|
||||||
"name": "Auto off at"
|
"name": "Auto-off at"
|
||||||
},
|
},
|
||||||
"report_interval": {
|
"report_interval": {
|
||||||
"name": "Report interval"
|
"name": "Report interval"
|
||||||
@ -297,10 +297,10 @@
|
|||||||
"name": "LED"
|
"name": "LED"
|
||||||
},
|
},
|
||||||
"auto_update_enabled": {
|
"auto_update_enabled": {
|
||||||
"name": "Auto update enabled"
|
"name": "Auto-update enabled"
|
||||||
},
|
},
|
||||||
"auto_off_enabled": {
|
"auto_off_enabled": {
|
||||||
"name": "Auto off enabled"
|
"name": "Auto-off enabled"
|
||||||
},
|
},
|
||||||
"smooth_transitions": {
|
"smooth_transitions": {
|
||||||
"name": "Smooth transitions"
|
"name": "Smooth transitions"
|
||||||
@ -388,7 +388,7 @@
|
|||||||
},
|
},
|
||||||
"segments": {
|
"segments": {
|
||||||
"name": "Segments",
|
"name": "Segments",
|
||||||
"description": "List of Segments (0 for all)."
|
"description": "List of segments (0 for all)."
|
||||||
},
|
},
|
||||||
"brightness": {
|
"brightness": {
|
||||||
"name": "Brightness",
|
"name": "Brightness",
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
}),
|
}),
|
||||||
'original_device_class': <SensorDeviceClass.TIMESTAMP: 'timestamp'>,
|
'original_device_class': <SensorDeviceClass.TIMESTAMP: 'timestamp'>,
|
||||||
'original_icon': None,
|
'original_icon': None,
|
||||||
'original_name': 'Auto off at',
|
'original_name': 'Auto-off at',
|
||||||
'platform': 'tplink',
|
'platform': 'tplink',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'supported_features': 0,
|
'supported_features': 0,
|
||||||
@ -108,7 +108,7 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'timestamp',
|
'device_class': 'timestamp',
|
||||||
'friendly_name': 'my_device Auto off at',
|
'friendly_name': 'my_device Auto-off at',
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'sensor.my_device_auto_off_at',
|
'entity_id': 'sensor.my_device_auto_off_at',
|
||||||
|
@ -108,7 +108,7 @@
|
|||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': None,
|
'original_icon': None,
|
||||||
'original_name': 'Auto off enabled',
|
'original_name': 'Auto-off enabled',
|
||||||
'platform': 'tplink',
|
'platform': 'tplink',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'supported_features': 0,
|
'supported_features': 0,
|
||||||
@ -120,7 +120,7 @@
|
|||||||
# name: test_states[switch.my_device_auto_off_enabled-state]
|
# name: test_states[switch.my_device_auto_off_enabled-state]
|
||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'my_device Auto off enabled',
|
'friendly_name': 'my_device Auto-off enabled',
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'switch.my_device_auto_off_enabled',
|
'entity_id': 'switch.my_device_auto_off_enabled',
|
||||||
@ -155,7 +155,7 @@
|
|||||||
}),
|
}),
|
||||||
'original_device_class': None,
|
'original_device_class': None,
|
||||||
'original_icon': None,
|
'original_icon': None,
|
||||||
'original_name': 'Auto update enabled',
|
'original_name': 'Auto-update enabled',
|
||||||
'platform': 'tplink',
|
'platform': 'tplink',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'supported_features': 0,
|
'supported_features': 0,
|
||||||
@ -167,7 +167,7 @@
|
|||||||
# name: test_states[switch.my_device_auto_update_enabled-state]
|
# name: test_states[switch.my_device_auto_update_enabled-state]
|
||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'friendly_name': 'my_device Auto update enabled',
|
'friendly_name': 'my_device Auto-update enabled',
|
||||||
}),
|
}),
|
||||||
'context': <ANY>,
|
'context': <ANY>,
|
||||||
'entity_id': 'switch.my_device_auto_update_enabled',
|
'entity_id': 'switch.my_device_auto_update_enabled',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user