Skip to content

Commit 74a4471

Browse files
ronaldvdmeerfrenck
authored andcommitted
Fix Duco mode end time sensor name (#173045)
1 parent 857a3de commit 74a4471

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

homeassistant/components/duco/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"name": "Target flow level"
6060
},
6161
"time_state_end": {
62-
"name": "Mode end time"
62+
"name": "State end time"
6363
},
6464
"ventilation_state": {
6565
"name": "Ventilation state",

tests/components/duco/snapshots/test_sensor.ambr

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@
435435
'state': '90',
436436
})
437437
# ---
438-
# name: test_sensor_entities_state[sensor.living_mode_end_time-entry]
438+
# name: test_sensor_entities_state[sensor.living_state_end_time-entry]
439439
EntityRegistryEntrySnapshot({
440440
'aliases': list([
441441
None,
@@ -449,20 +449,20 @@
449449
'disabled_by': None,
450450
'domain': 'sensor',
451451
'entity_category': None,
452-
'entity_id': 'sensor.living_mode_end_time',
452+
'entity_id': 'sensor.living_state_end_time',
453453
'has_entity_name': True,
454454
'hidden_by': None,
455455
'icon': None,
456456
'id': <ANY>,
457457
'labels': set({
458458
}),
459459
'name': None,
460-
'object_id_base': 'Mode end time',
460+
'object_id_base': 'State end time',
461461
'options': dict({
462462
}),
463463
'original_device_class': <SensorDeviceClass.TIMESTAMP: 'timestamp'>,
464464
'original_icon': None,
465-
'original_name': 'Mode end time',
465+
'original_name': 'State end time',
466466
'platform': 'duco',
467467
'previous_unique_id': None,
468468
'suggested_object_id': None,
@@ -472,14 +472,14 @@
472472
'unit_of_measurement': None,
473473
})
474474
# ---
475-
# name: test_sensor_entities_state[sensor.living_mode_end_time-state]
475+
# name: test_sensor_entities_state[sensor.living_state_end_time-state]
476476
StateSnapshot({
477477
'attributes': ReadOnlyDict({
478478
'device_class': 'timestamp',
479-
'friendly_name': 'Living Mode end time',
479+
'friendly_name': 'Living State end time',
480480
}),
481481
'context': <ANY>,
482-
'entity_id': 'sensor.living_mode_end_time',
482+
'entity_id': 'sensor.living_state_end_time',
483483
'last_changed': <ANY>,
484484
'last_reported': <ANY>,
485485
'last_updated': <ANY>,

0 commit comments

Comments
 (0)