mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 02:38:53 +00:00
* Add automation editor * Build JS before running tests * Add browser warning * Re-order from/to in state
4 lines
86 B
JavaScript
4 lines
86 B
JavaScript
export function validEntityId(entityId) {
|
|
return /^(\w+)\.(\w+)$/.test(entityId);
|
|
}
|