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 on state for robot vacuum cleaners #1028

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

JannThomas
Copy link

♻️ Current situation

Currently, the on property of the device is used to determine whether it is running. That makes the device always active since it is always "turned on" according to the API, as long as its battery is not empty.

💡 Proposed solution

We use the working statuses 'InDustCollecting' and 'Clearing' to indicate on state. Those are the statuses that are the indication That the device is actually currently cleaning.

⚙️ Release Notes

  • Fix a bug where robot vacuums would always display as on

➕ Additional Information

Testing

Reviewer Nudging

@donavanbecker donavanbecker changed the base branch from latest to beta-3.7.1 August 20, 2024 17:19
@github-actions github-actions bot added the beta label Aug 20, 2024
@donavanbecker
Copy link
Collaborator

Awesome! Thanks I will merge this in to beta for testing.

@donavanbecker donavanbecker merged commit 808ad73 into OpenWonderLabs:beta-3.7.1 Aug 20, 2024
4 of 5 checks passed
@donavanbecker donavanbecker mentioned this pull request Sep 11, 2024
donavanbecker added a commit that referenced this pull request Sep 11, 2024
## [3.8.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v3.8.0) (2024-09-11)

### What's Changed
- Added specific macOS Bluetooth permission instructions to Readme [#1026](#1026), Thanks [@rSffsE](https://github.com/rSffsE)
- Added partial support for `Roller Shade` deviceType. Currently only supports status.
- Added `silentModeSwitch` config option for both `Curtain` & `Blind Titl` deviceTypes, allowing two switches to be display for Closing and Moding Mode. If turned on then Silent Mode is enabled.
- Added option to allow invalid Characters in displayName with config `allowInvalidCharacters`
- Added `dry` config option to enable Dry Status support for Water Detector
- Fixed Platform BLE Scanning events not registering
- Fix `On` state for robot vacuum cleaners [#1028](#1028), Thanks [@JannThomas](https://github.com/JannThomas)
- Housekeeping and updated dependencies.

**Full Changelog**: v3.7.0...v3.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta enhancement New feature or request latest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants