nervousnet / nervousnet-HUB-iOS

Nervousnet HUB client for iOS
GNU General Public License v3.0
2 stars 0 forks source link

Nervousnet On/Off Button should remember State #20

Open a-enz opened 7 years ago

a-enz commented 7 years ago

Currently this button and the logic from the VM don't remember the State set in an earlier app session. Every time the app is closed and openend the Button and State from the VM is reset to "ON".

The VM logic should consider state set in earlier sessions and initialize sensors on that state:

The button should be initialized by checking the nervousnet state first: