Skip to content

Commit

Permalink
feat(ScenePicker): show scene id when selecting a scene (#1994)
Browse files Browse the repository at this point in the history
When adding a scene, one is supposed to input the scene id
Showing the IDs in the scene selector
allows one to discover
which IDs are already in use.
  • Loading branch information
MacDada committed Apr 22, 2024
1 parent 3280ca5 commit 819f798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/device-page/ScenePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function ScenePicker(props: ScenePickerProps): JSX.Element {
</option>
{scenes.map((scene) => (
<option key={`${scene.id}-${scene.endpoint}`} value={`${scene.id}-${scene.endpoint}`}>
{scene.name}
{scene.id}: {scene.name}
</option>
))}
</select>
Expand Down

0 comments on commit 819f798

Please sign in to comment.