Fabian Peter Hammerle
|
ee8c0b82bf
disable irrelevant mypy warning
|
пре 6 месеци |
Fabian Peter Hammerle
|
8329e53782
require `PySwitchbot>=0.14.0,<0.41` instead of `PySwitchbot>=0.10.0,<0.13` & replace bluepy with bleak
|
пре 1 година |
Fabian Peter Hammerle
|
52764c2695
replace paho-mqtt with its async wrapper aiomqtt (to prepare for upgrading PySwitchbot)
|
пре 1 година |
Fabian Peter Hammerle
|
f0f5e96b77
disable pylint's similarity checks locally
|
пре 2 година |
Fabian Peter Hammerle
|
680dc5e6bb
refactor: rename module `switchbot_mqtt/_actors/{_base->base}` (cause accessed by outer `switchbot_mqtt` & `switchbot_mqtt._cli`)
|
пре 2 година |
Fabian Peter Hammerle
|
4416a97213
refactor: move `_TOPIC_LEVELS_PREFIX` to `_MQTTCallbackUserdata.mqtt_topic_prefix` (to prepare parametrization via commmand-line argument)
|
пре 2 година |
Fabian Peter Hammerle
|
c6bc41e1c3
add additional (internal) type hints to enable mypy's strict mode
|
пре 2 година |
Fabian Peter Hammerle
|
383e1e9cce
refactor: move actor classes to switchbot_mqtt/_actors.py
|
пре 3 година |
Fabian Peter Hammerle
|
592cdec215
refactor: moved invocation of `switchbot.SwitchbotDevice.update` to new method `_MQTTControlledActor._get_device` (to prepare retrieval of battery state for button automators)
|
пре 3 година |
Fabian Peter Hammerle
|
90d274d00c
added option `--fetch-device-info` to toggle reporting of curtain motor's position (can't enable by default due to `bluepy.btle.BTLEManagementError: Failed to execute management command 'le on'`)
|
пре 3 година |
Fabian Peter Hammerle
|
f9cc568450
callbacks: add support for device passwords
|
пре 3 година |
Fabian Peter Hammerle
|
57906b1176
added command-line parameter `--retries` to alter maximum number of attempts to send a command to a SwitchBot device
|
пре 3 година |
Fabian Peter Hammerle
|
44f2706bde
add support for switchbot curtain motors
|
пре 3 година |