Refactor status handling in SHTC3 binding (#2038)
* Refactor status handling in SHTC3 binding * Reduce to a single Status property * Only check current status in WakeUp/Sleep methods, where it's needed * Add an "Unknown" status enum value to describe the moments before we have explictly set the status. * Update SHTC3 refactoring to use field, not property
Showing
想要评论请 注册 或 登录