Fabian Peter Hammerle
|
c6bc41e1c3
add additional (internal) type hints to enable mypy's strict mode
|
2 years ago |
Fabian Peter Hammerle
|
383e1e9cce
refactor: move actor classes to switchbot_mqtt/_actors.py
|
3 years ago |
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 years ago |
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 years ago |
Fabian Peter Hammerle
|
f9cc568450
callbacks: add support for device passwords
|
3 years ago |
Fabian Peter Hammerle
|
57906b1176
added command-line parameter `--retries` to alter maximum number of attempts to send a command to a SwitchBot device
|
3 years ago |
Fabian Peter Hammerle
|
44f2706bde
add support for switchbot curtain motors
|
3 years ago |