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:
Norbert Rittel 2025-03-30 14:56:36 +02:00 committed by GitHub
parent ad3f7f041f
commit 0eeb6b5fd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -26,9 +26,9 @@
"entity": {
"sensor": {
"backup_manager_state": {
"name": "Backup Manager State",
"name": "Backup Manager state",
"state": {
"idle": "Idle",
"idle": "[%key:common::state::idle%]",
"create_backup": "Creating a backup",
"receive_backup": "Receiving a backup",
"restore_backup": "Restoring a backup"

View File

@ -32,7 +32,7 @@
}),
'original_device_class': <SensorDeviceClass.ENUM: 'enum'>,
'original_icon': None,
'original_name': 'Backup Manager State',
'original_name': 'Backup Manager state',
'platform': 'backup',
'previous_unique_id': None,
'supported_features': 0,
@ -45,7 +45,7 @@
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'enum',
'friendly_name': 'Backup Backup Manager State',
'friendly_name': 'Backup Backup Manager state',
'options': list([
'idle',
'create_backup',