mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Replace "Idle" with common state in backup
, fix sentence-case (#141814)
* Replace "Idle" with common state in `backup`, fix sentence-case * Update test_sensors.ambr
This commit is contained in:
parent
ad3f7f041f
commit
0eeb6b5fd5
@ -26,9 +26,9 @@
|
|||||||
"entity": {
|
"entity": {
|
||||||
"sensor": {
|
"sensor": {
|
||||||
"backup_manager_state": {
|
"backup_manager_state": {
|
||||||
"name": "Backup Manager State",
|
"name": "Backup Manager state",
|
||||||
"state": {
|
"state": {
|
||||||
"idle": "Idle",
|
"idle": "[%key:common::state::idle%]",
|
||||||
"create_backup": "Creating a backup",
|
"create_backup": "Creating a backup",
|
||||||
"receive_backup": "Receiving a backup",
|
"receive_backup": "Receiving a backup",
|
||||||
"restore_backup": "Restoring a backup"
|
"restore_backup": "Restoring a backup"
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
}),
|
}),
|
||||||
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
|
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
|
||||||
'original_icon': None,
|
'original_icon': None,
|
||||||
'original_name': 'Backup Manager State',
|
'original_name': 'Backup Manager state',
|
||||||
'platform': 'backup',
|
'platform': 'backup',
|
||||||
'previous_unique_id': None,
|
'previous_unique_id': None,
|
||||||
'supported_features': 0,
|
'supported_features': 0,
|
||||||
@ -45,7 +45,7 @@
|
|||||||
StateSnapshot({
|
StateSnapshot({
|
||||||
'attributes': ReadOnlyDict({
|
'attributes': ReadOnlyDict({
|
||||||
'device_class': 'enum',
|
'device_class': 'enum',
|
||||||
'friendly_name': 'Backup Backup Manager State',
|
'friendly_name': 'Backup Backup Manager state',
|
||||||
'options': list([
|
'options': list([
|
||||||
'idle',
|
'idle',
|
||||||
'create_backup',
|
'create_backup',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user