In my automation YAML, I found a device_id: c5b52----blabla--dd13f, but I can’t search for device_id via Developer Tools, which is a bit inconvenient.
I would like to request a new feature which can be either in Developer Tools or in Automation flow
Developer tools: The ability to search by device_id and retrieve all relevant information attached to it. Just as we have various filtering options in the UI now, it would be fantastic to have similar functionality in Developer Tools.
Benefits:
Improved Troubleshooting: Quickly find devices and their associated information, making it easier to debug and manage automations.
Streamlined Workflow: Save time by having direct access to device details without needing to cross-reference multiple sources.
Enhanced User Experience: Simplify the process of managing devices, especially in complex setups with many devices.
Automation flow:
Additionally, I propose an alternative option to extend the automation flow with a friendly_name for each device_id in automation.yaml. This would provide a clearer and more readable YAML configuration.
Benefits of Friendly Naming:
Better Readability: Make YAML files more understandable at a glance, reducing the cognitive load when managing automations.
Easier Maintenance: Simplify the process of updating and maintaining automations by using human-readable names instead of cryptic device IDs.
I believe these enhancements would significantly improve the usability and efficiency for all users.
The purpose of this PR is to avoid passing through UI every time you have a device_id.
device_id are in .storage , device core registry file.
It’s then possible to have the output of that file in dev tools based on device_id
I know some reco to not use device_id but it’s fine for me to use them.
It may be good to have the info translation of the device_id into device text available in alias but that would be then a FR for automation
I mean… technically developer tools are also part of the UI.
Even if you did search for it in developer tools you would just get the exact same thing as devices as I showed above.
With the added benefit of devices having a logbook which makes it easier to see what has happened lately with this device.
It seems to me as if your FR is something that is less useful than what already exist.
But it could be that I just don’t see the benefits.
In my opinion then perhaps a better FR is to add the friendly name in the yaml code instead
Device_id’s were designed for use only with the UI. If you want to use device_id’s, you use the UI. They are people unfriendly and cryptic.
Otherwise just avoid them…