Skip to content

Fix iNode Care Sensor temperature decoding - #1611

Merged
Ernst79 merged 2 commits into
custom-components:masterfrom
dajiaohuang:fix/inode-care-temperature
Sep 20, 2026
Merged

Ernst79 merged 2 commits into
custom-components:masterfrom
dajiaohuang:fix/inode-care-temperature

Conversation

@dajiaohuang

Copy link
Copy Markdown
Contributor

Fixes #1610.\n\n## Summary\n- Decode the raw iNode Care Sensor 2 and Care Sensor T temperature word using its little-endian byte layout.\n- Add regression coverage for both device IDs.\n\n## Validation\n- pre-commit run --files custom_components/ble_monitor/ble_parser/inode.py custom_components/ble_monitor/test/test_inode_parser.py (pass)\n- python -m py_compile custom_components/ble_monitor/ble_parser/inode.py custom_components/ble_monitor/test/test_inode_parser.py (pass)\n- pytest was not runnable locally because the pinned pytest-homeassistant-custom-component 0.13.354 requires Python 3.14 and this host has Python 3.13 active.

@Ernst79

Ernst79 commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Thanks

@Ernst79 Ernst79 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test now fail, can you please check if is is intentionally or not?

@dajiaohuang

Copy link
Copy Markdown
Contributor Author

The failing fixture was using raw temperature

@Ernst79
Ernst79 merged commit 2cdbeca into custom-components:master Sep 20, 2026
6 checks passed
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.

[Bug]: TypeError in inode.py for iNode models 0x92 and 0x9A

2 participants