Add support for wildcard entity IDs
This diff adds the option to use wildcards to specify entity rules. This can save a lot of typing and need to manually update rule files when adding additional entities to the system.
Examples
Light Rule:
- entity: light.*
Temperature Visualization Rule:
- entity: sensor.*_temperature
Door State Visualization:
- entities:
- binary_sensor.*_door
- lock.*_door
Hi,
Thanks for the PR. Much appreciated.
Could I kindly ask you to include testing for alle scenarios? A valid wildcard, and a non-valid (error printed in the logs). Please find the most related test-file and make, run and validate the mentioned test, so we're sure it's working now; but also in the future. Please don't touch the existing it's, but make new ones for the two cases.
https://github.com/ExperienceLovelace/ha-floorplan/blob/master/tests/jest/tests/
Hi,
Did you find time to look into this? :-)