Fabian Peter Hammerle
|
c6bc41e1c3
add additional (internal) type hints to enable mypy's strict mode
|
2 years ago |
Fabian Peter Hammerle
|
71dd59b114
fix console entry point
|
3 years ago |
Fabian Peter Hammerle
|
2468700b4a
refactor: move `_main` to switchbot_mqtt/_cli.py
|
3 years ago |
Fabian Peter Hammerle
|
ef51646189
`--fetch-device-info` can now alternatively be enabled by setting env var `FETCH_DEVICE_INFO`
|
3 years ago |
Fabian Peter Hammerle
|
de6d509bdd
change default log level from `DEBUG` to `INFO`; added option `--debug`
|
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
|
5dc3fc3b75
added command-line param `--device-password-file`
|
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 |
Fabian Peter Hammerle
|
7ff05ba3f2
dev env: upgrade black
|
4 years ago |
Fabian Peter Hammerle
|
9002166fbe
password file: fix \r\n getting replaced by \n
|
4 years ago |
Fabian Peter Hammerle
|
5e0e2a0124
added command line parameter --mqtt-password-file
|
4 years ago |
Fabian Peter Hammerle
|
396e3423ec
added command line parameters --mqtt-username and --mqtt-password
|
4 years ago |
Fabian Peter Hammerle
|
050488109f
test argument parser
|
4 years ago |