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 |