-
-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Hello,
This text from the README needs to be re-worded because it is very misleading:
The statusPattern property can be used to change the phrase which is used to identify if the switch should be turned on or off. So when you want the switch to be turned on when your server sends "true" in the body of the http response you could specify the following pattern:
Suggestion:
The statusPattern property can be used to change the phrase which is used to identify if the accessory associated with the switch is on or off. So when you want the status of the accessory associated with the switch to be displayed as on when your server sends "true" in the body of the http response you could specify the following pattern:
Reason for my suggestion is that it clarifies that the statusPattern
is not for controlling the state of the accessory associated with the Http Switch.
Thanks!