Update switchbot to be local push (#23495)

* Update switchbot to be local push

* Update switchbot.markdown
This commit is contained in:
J. Nick Koston 2022-07-24 15:04:54 -05:00 committed by GitHub
parent e882a2aac7
commit 0badf47247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,14 +2,17 @@
title: SwitchBot title: SwitchBot
description: Instructions on how to set up SwitchBot Devices. description: Instructions on how to set up SwitchBot Devices.
ha_category: ha_category:
- Binary Sensor
- Cover - Cover
- Sensor
- Switch - Switch
ha_release: 0.78 ha_release: 0.78
ha_iot_class: Local Polling ha_iot_class: Local Push
ha_codeowners: ha_codeowners:
- '@danielhiversen' - '@danielhiversen'
- '@RenierM26' - '@RenierM26'
ha_domain: switchbot ha_domain: switchbot
ha_bluetooth: true
ha_platforms: ha_platforms:
- binary_sensor - binary_sensor
- cover - cover
@ -42,19 +45,19 @@ There are three attributes available on the SwitchBot entity to give you more in
- `last_run_success`: If `true` if the last action sent to the SwitchBot succeeded. This attribute is useful for error trapping when Bluetooth connectivity is intermittent. If `false`, see home-assistant.log for specific error messages. - `last_run_success`: If `true` if the last action sent to the SwitchBot succeeded. This attribute is useful for error trapping when Bluetooth connectivity is intermittent. If `false`, see home-assistant.log for specific error messages.
- `Switch mode`: Specifies the mode of the SwitchBot. If `true` the the SwitchBot is in Pull/Retract mode for toggle switches otherwise the bot is in momentary switch mode. - `Switch mode`: Specifies the mode of the SwitchBot. If `true` the the SwitchBot is in Pull/Retract mode for toggle switches otherwise the bot is in momentary switch mode.
- `MAC address`: The BTLE MAC for the device. - `address`: The BTLE address for the device.
## SwitchBot Options ## SwitchBot Options
There are four options that can be configured for the SwitchBot entities. Setting any of these options will apply to all of your SwitchBot devices. There are four options that can be configured for the SwitchBot entities. Setting any of these options will apply to all of your SwitchBot devices.
- `Time between updates (seconds)`: Increase/Decrease the update interval for the device. (Could impact battery life)
- `Retry count`: How many times to retry sending commands and retry polling your SwitchBot devices. - `Retry count`: How many times to retry sending commands and retry polling your SwitchBot devices.
- `Timeout between retries`: How long to wait before retries. - `Timeout between retries`: How long to wait before retries.
- `How long to scan for advertisement data`: Bluetooth LE uses advertisement data for device statuses and/or attributes. This setting specifies how long the scan should run.
### Error codes and troubleshooting ### Error codes and troubleshooting
The SwitchBot integration will automatically discover devices once the [Bluetooth](/integrations/bluetooth) integration is enabled and functional.
{% configuration_basic %} {% configuration_basic %}
"Config flow could not be loaded": "Config flow could not be loaded":
description: Possible custom integration conflict, using a different version of PySwitchbot; Try uninstalling the custom integration. description: Possible custom integration conflict, using a different version of PySwitchbot; Try uninstalling the custom integration.