homebridge-plugins / homebridge-roomba2

Homebridge plugin to connect iRobot Roomba devices with Homebridge/HomeKit.
MIT License
143 stars 17 forks source link

Consider restating in the positive: "Do not send home when stopped" -> "Dock when stopped" (1.3.0-beta.5) #73

Closed khad closed 2 years ago

khad commented 2 years ago

Settings should be stated in the positive for clarity.

Screen Shot 2021-09-22 at 9 22 49 PM

Expected Behavior

The last setting in the screenshot should be:

☑️ Dock when stopped

"dockOnStop": true,

It can default to on/"true".

Current Behavior

The current setting is a double negative when it is in its default state, which makes it harder to understand at a glance:

[Do not] "Do not send home when stopped"

Or, in the config:

"noDockOnStop": false,

Versions

karlvr commented 2 years ago

@khad thank you, I agree. @rcoletti116 would you like to update, and set a default in the schema and in the code?

rcoletti116 commented 2 years ago

I'll take a look and think about this one. I had this in the positive before submitting the PR, but there was a reason I changed it.

khad commented 2 years ago

Some other possibilities if you want to preserve the current true/false states:

Pause when turned off

Pause when switch is off

Pause when powered off

Pause when switch is powered off

I don't personally like "powered off", but it's the language Apple uses in the UI.

Screen Shot 2021-09-23 at 8 35 40 AM

(I wouldn't recommend "Pause when stopped" because it seems like a logical contradiction. Pause and stop are two different things, no?)

rcoletti116 commented 2 years ago

I've got a PR coming that should reverse this and make it more logical. As far as pause vs. stop - they are two different things to Roomba, though iRobot's own app has tried to do away with stop. Stop ends a cleaning job and pause does not.

The next version will be "Dock when stopped," with the default being "true" to preserve the current function for all users who update.