I have several switches at home leveraging the command_line switch integration and they work well:
However, the integration is missing the “unique_id” configuration variable. Because of this, there are two issues:
- I’m not allowed to modify the entry from the Home Assistant UI
- I cannot assign the corresponding entities to Areas
Other integrations that I’m using for my DIY devices, like “template cover” for instance, allow to specify a unique_id.
It would be extremely useful if unique_id could be added to the command_line switch integration.