Fabian Peter Hammerle
|
6a4b722b53
upgrade black from 23.12.1 to 24.1.0
|
10 months ago |
Fabian Peter Hammerle
|
8329e53782
require `PySwitchbot>=0.14.0,<0.41` instead of `PySwitchbot>=0.10.0,<0.13` & replace bluepy with bleak
|
1 year ago |
Fabian Peter Hammerle
|
52764c2695
replace paho-mqtt with its async wrapper aiomqtt (to prepare for upgrading PySwitchbot)
|
1 year ago |
Fabian Peter Hammerle
|
3a12297d2e
re-format code after upgrade of black to v23.1.0
|
1 year ago |
Fabian Peter Hammerle
|
f0f5e96b77
disable pylint's similarity checks locally
|
2 years ago |
Fabian Peter Hammerle
|
680dc5e6bb
refactor: rename module `switchbot_mqtt/_actors/{_base->base}` (cause accessed by outer `switchbot_mqtt` & `switchbot_mqtt._cli`)
|
2 years ago |
Fabian Peter Hammerle
|
4416a97213
refactor: move `_TOPIC_LEVELS_PREFIX` to `_MQTTCallbackUserdata.mqtt_topic_prefix` (to prepare parametrization via commmand-line argument)
|
2 years ago |
Fabian Peter Hammerle
|
557669a92c
button automators: no longer report battery% on deprecated topic `homeassistant/cover/switchbot/+/battery-percentage`
|
2 years ago |
Fabian Peter Hammerle
|
ef42e7c014
refactor: store topic levels in tuples instead of lists (see `_MQTTControlledActor._get_mqtt_message_callbacks`)
|
2 years ago |
Fabian Peter Hammerle
|
d9ed83a845
send command to set curtain motors' position
|
2 years ago |
Fabian Peter Hammerle
|
1a9a7d4722
subscribe to topic `homeassistant/cover/switchbot-curtain/+/position/set-percent`
|
2 years ago |
Fabian Peter Hammerle
|
7b25b3a3ec
update & report device info when receiving msg on `homeassistant/{switch/switchbot,cover/switchbot-curtain}/MAC_ADDRESS/request-device-info` (requires `--fetch-device-info`)
|
3 years ago |
Fabian Peter Hammerle
|
f6be995e7a
refactor: split `_MQTTControlledActor` into new switchbot_mqtt/_actors/_base.py
|
3 years ago |