Add humidifer and led for switchbot integration (#39722)

This commit is contained in:
Retha Runolfsson 2025-06-26 17:13:35 +08:00 committed by Franck Nijhof
parent 344bb12a4f
commit 39f38cb99f
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952

View File

@ -5,6 +5,7 @@ ha_category:
- Binary sensor - Binary sensor
- Cover - Cover
- Fan - Fan
- Humidifier
- Light - Light
- Lock - Lock
- Sensor - Sensor
@ -119,6 +120,8 @@ For instructions on how to obtain the encryption key, see README in [PySwitchbot
- [Color Bulb (WoBulb)](https://switch-bot.com/pages/switchbot-color-bulb) - [Color Bulb (WoBulb)](https://switch-bot.com/pages/switchbot-color-bulb)
- [Light Strip (WoStrip)](https://www.switchbot.jp/products/switchbot-strip-light) - [Light Strip (WoStrip)](https://www.switchbot.jp/products/switchbot-strip-light)
- [Smart Ceiling Light (WoCeiling)](https://www.switchbot.jp/products/switchbot-ceiling-light) - [Smart Ceiling Light (WoCeiling)](https://www.switchbot.jp/products/switchbot-ceiling-light)
- [Strip Light 3](https://www.switch-bot.com/products/switchbot-led-strip-light-3)
- [Floor Lamp](https://www.switch-bot.com/products/switchbot-floor-lamp)
### Locks ### Locks
@ -130,6 +133,7 @@ For instructions on how to obtain the encryption key, see README in [PySwitchbot
### Humidifiers ### Humidifiers
- [Humidifier (WoHumi)](https://www.switchbot.jp/products/switchbot-smart-humidifier) - [Humidifier (WoHumi)](https://www.switchbot.jp/products/switchbot-smart-humidifier)
- [Evaporative Humidifier](https://www.switch-bot.com/products/switchbot-evaporative-humidifier-auto-refill)
### Sensors ### Sensors
@ -184,6 +188,7 @@ Switch entities are added for Bot, Plug Mini, and Relay Switch.
Password protection: You can set a device password in the SwitchBot app to prevent people nearby take control of your device. When a password is set, you need to enter the correct password in order to add it to the integrations. Password protection: You can set a device password in the SwitchBot app to prevent people nearby take control of your device. When a password is set, you need to enter the correct password in order to add it to the integrations.
Features: Features:
- turn on or off - turn on or off
- press - press
- get battery level - get battery level
@ -194,6 +199,7 @@ Attributes:
#### Plug Mini #### Plug Mini
Features: Features:
- turn on or off - turn on or off
- get power consumption readings - get power consumption readings
@ -202,6 +208,7 @@ Features:
This is an encrypted device. This is an encrypted device.
Features: Features:
- turn on or off - turn on or off
#### Relay Switch 1PM #### Relay Switch 1PM
@ -209,6 +216,7 @@ Features:
This is an encrypted device. This is an encrypted device.
Features: Features:
- turn on or off - turn on or off
- get power - get power
- get voltage - get voltage
@ -221,6 +229,7 @@ Cover entities are added for Curtain, Curtain 3, Blind Tilt, and Roller Shade.
#### Curtain #### Curtain
Features: Features:
- open/close/pause - open/close/pause
- set position - set position
- get position - get position
@ -231,6 +240,7 @@ Features:
#### Curtain 3 #### Curtain 3
Features: Features:
- open/close/pause - open/close/pause
- set position - set position
- get position - get position
@ -241,6 +251,7 @@ Features:
#### Blind Tilt #### Blind Tilt
Features: Features:
- close up/close down/pause - close up/close down/pause
- set position - set position
- get position - get position
@ -305,6 +316,7 @@ The Roller Shade is exposed as a cover entity with control of the position only:
| >20% | Close | | >20% | Close |
Features: Features:
- open/close/pause - open/close/pause
- set position - set position
- get position - get position
@ -317,6 +329,7 @@ Sensor entiteis are added for thermometer and hygrometer devices, motion sensor,
#### Meter #### Meter
Features: Features:
- get temperature - get temperature
- get humidity - get humidity
- get battery level - get battery level
@ -324,6 +337,7 @@ Features:
#### Meter Plus #### Meter Plus
Features: Features:
- get temperature - get temperature
- get humidity - get humidity
- get battery level - get battery level
@ -331,6 +345,7 @@ Features:
#### Indoor/Outdoor Meter #### Indoor/Outdoor Meter
Features: Features:
- get temperature - get temperature
- get humidity - get humidity
- get battery level - get battery level
@ -338,6 +353,7 @@ Features:
#### Meter Pro #### Meter Pro
Features: Features:
- get temperature - get temperature
- get humidity - get humidity
- get battery level - get battery level
@ -345,6 +361,7 @@ Features:
#### Meter Pro CO2 Monitor #### Meter Pro CO2 Monitor
Features: Features:
- get temperature - get temperature
- get humidity - get humidity
- get carbon dioxide - get carbon dioxide
@ -364,10 +381,13 @@ Features:
- motion detection state - motion detection state
- get battery level - get battery level
#### Water Leak Detector #### Water Leak Detector
This is an encrypted device. This is an encrypted device.
Features: Features:
- leak or dry state - leak or dry state
- get battery level - get battery level
@ -380,6 +400,14 @@ Features:
Light entities are added for Color Bulb, LED Strip Light, and Ceiling Light. Light entities are added for Color Bulb, LED Strip Light, and Ceiling Light.
#### Ceiling Light
Features:
- turn on or off
- change brightness
- change color temperature
#### Color Bulb #### Color Bulb
Features: Features:
@ -387,13 +415,40 @@ Features:
- change brightness - change brightness
- change color temperature - change color temperature
- change color - change color
- set effect
#### LED Strip Light #### LED Strip Light
Features: Features:
- turn on or off - turn on or off
- change brightness - change brightness
- change color - change color
- set effect
#### Strip Light 3
This is an encrypted device.
Features:
- turn on or off
- change brightness
- change color temperature
- change color
- set effect
#### Floor Lamp
This is an encrypted device.
Features:
- turn on or off
- change brightness
- change color temperature
- change color
- set effect
### Locks ### Locks
@ -404,6 +459,7 @@ Note: The integration currently only uses the primary lock state; in dual lock m
This is an encrypted device. This is an encrypted device.
Features: Features:
- Lock or unlock - Lock or unlock
- open or closed state - open or closed state
- auto-lock paused state - auto-lock paused state
@ -518,6 +574,31 @@ Features:
- return to base - return to base
- get battery - get battery
### Humidifiers
Humidifier entities are added for Humidifier and Evaporative Humidifier.
#### Humidifier
Features:
- turn on
- turn off
- set mode
- set humidity
#### Evaporative Humidifier
This is an encrypted device.
Note: Not all modes support unless you bind the temperature and humidity sensor.
Features:
- turn on
- turn off
- set mode
- set humidity
## Data updates ## Data updates
SwitchBot devices utilize a [local push](/blog/2016/02/12/classifying-the-internet-of-things/#classifiers) strategy to maintain real-time status updates. When devices detect state changes, they actively push updates to Home Assistant for immediate synchronization. For user-initiated actions through Home Assistant (for example, when turning a device on/off), the integration performs an additional proactive status fetch to ensure instant confirmation of the new state. SwitchBot devices utilize a [local push](/blog/2016/02/12/classifying-the-internet-of-things/#classifiers) strategy to maintain real-time status updates. When devices detect state changes, they actively push updates to Home Assistant for immediate synchronization. For user-initiated actions through Home Assistant (for example, when turning a device on/off), the integration performs an additional proactive status fetch to ensure instant confirmation of the new state.