Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: ble devices not registering online #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

auphof
Copy link

@auphof auphof commented Feb 13, 2024

FIX: ble devices not registering online
WIP: ble pir enumMappingMap workaround

The Online status is determined by a protocol ==4 report being received

as per #8 the workaround handle dpId==92 and the API returning a dp_status_relation["enumMappingMap"]=={'false': {'code': 'pir', 'value': 'none'}, 'true': {'code': 'pir', 'value': 'pir'}}
This is probably best handled by an update to tuya_sharing/strategy_repo/enum_.py I dont have testing capabilities and there are not unittests hence i am just modifying the enumMappingMap to make the existing enum strategy to work

See #8

fix: ble devices not registering online
@auphof auphof changed the title WIP: ble pir enumMappingMap workaround FIX: ble devices not registering online Feb 13, 2024
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.

None yet

2 participants