Skip to content

Fix sensor value fetching#12

Merged
balloob merged 1 commit intomainfrom
fix-sensor-value
Jun 16, 2022
Merged

Fix sensor value fetching#12
balloob merged 1 commit intomainfrom
fix-sensor-value

Conversation

@balloob
Copy link
Copy Markdown
Contributor

@balloob balloob commented Jun 16, 2022

The sensor value code wasn't working, accidentally hardcoded to temperature cluster.

This PR actually looks at the subscribed attribute and fetches the right data.

Again untested as I don't have a sensor device. We really need to add some interview stubs for tests.

@balloob balloob merged commit c240d89 into main Jun 16, 2022
@balloob balloob deleted the fix-sensor-value branch June 16, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants