ccoverstreet / Jablko

Smart Home Interface powered by Go.
MIT License
1 stars 0 forks source link

Switch to JMODs providing front-end configs in arrays #97

Closed ccoverstreet closed 3 years ago

ccoverstreet commented 3 years ago

I'm not sure why I decided to have explicitly named instances for JMOD front end components. This makes errors in configurations more likely. JMODs should switch to providing an array containing objects that represent individual front-end instance configs/data. If a identifier is needed for a component, the JMOD should be responsible for making sure unique IDs are provided in each config.

ccoverstreet commented 3 years ago

Closed in new-frontend-config pull request #99