michbeck100 / pimatic-hap

Pimatic homekit bridge
GNU General Public License v2.0
30 stars 10 forks source link

Fix for restore state at device identify #5

Closed sweetpi closed 8 years ago

sweetpi commented 8 years ago

Sorry there was an error in my example. We need state in the last chained promise, so it cant be fully flatted.

michbeck100 commented 8 years ago

I thought this would be magically resolved by JS. Thanks for looking into it!