1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00
Files
frontend/preact-src/util.js
Paulus Schoutsen ca82a411aa Add automation editor (#275)
* Add automation editor

* Build JS before running tests

* Add browser warning

* Re-order from/to in state
2017-05-09 09:37:10 -07:00

4 lines
86 B
JavaScript

export function validEntityId(entityId) {
return /^(\w+)\.(\w+)$/.test(entityId);
}