File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
homeassistant/components/smartthings
tests/components/smartthings/snapshots Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,7 @@ def __init__(
6363 """Initialize the instance."""
6464 super ().__init__ (client , device , set ())
6565 self .entity_description = entity_description
66- self ._attr_unique_id = (
67- f"{ device .device .device_id } _{ MAIN } _{ entity_description .key } "
68- )
66+ self ._attr_unique_id = f"{ device .device .device_id } _{ MAIN } _{ entity_description .key } _{ entity_description .command } "
6967
7068 async def async_press (self ) -> None :
7169 """Press the button."""
Original file line number Diff line number Diff line change 2929 'previous_unique_id': None,
3030 'supported_features': 0,
3131 'translation_key': 'stop',
32- 'unique_id': '2bad3237-4886-e699-1b90-4a51a3d55c8a_main_ovenOperatingState ',
32+ 'unique_id': '2bad3237-4886-e699-1b90-4a51a3d55c8a_main_ovenOperatingState_stop ',
3333 'unit_of_measurement': None,
3434 })
3535# ---
7676 'previous_unique_id': None,
7777 'supported_features': 0,
7878 'translation_key': 'stop',
79- 'unique_id': '9447959a-0dfa-6b27-d40d-650da525c53f_main_ovenOperatingState ',
79+ 'unique_id': '9447959a-0dfa-6b27-d40d-650da525c53f_main_ovenOperatingState_stop ',
8080 'unit_of_measurement': None,
8181 })
8282# ---
123123 'previous_unique_id': None,
124124 'supported_features': 0,
125125 'translation_key': 'stop',
126- 'unique_id': '2c3cbaa0-1899-5ddc-7b58-9d657bd48f18_main_ovenOperatingState ',
126+ 'unique_id': '2c3cbaa0-1899-5ddc-7b58-9d657bd48f18_main_ovenOperatingState_stop ',
127127 'unit_of_measurement': None,
128128 })
129129# ---
You can’t perform that action at this time.
0 commit comments