ni-c / heimcontrol.js

Home-Automation with node.js and Raspberry PI
MIT License
1.41k stars 297 forks source link

fix the initial state for gpio toggles when accessing through api #41

Closed JorisM closed 10 years ago

JorisM commented 10 years ago

apply the before render function to toggles before returning, otherwise the initial state of toggles is wrong.