Files
ha-frontend-cdce8p/preact-src/util.js
T
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);
}