Fabian Peter Hammerle
|
38e23ba811
tests / python3.5: fix AttributeError due to unavailable MagicMock.assert_called_once
|
4 years ago |
Fabian Peter Hammerle
|
087dc684f9
test mqtt: disable irrelevant too-many-arguments check
|
4 years ago |
Fabian Peter Hammerle
|
7fce0c4545
_report_state; adapt logging; no longer wait for publish (froze)
|
4 years ago |
Fabian Peter Hammerle
|
ce8cf8c8bf
publish new state to homeassistant/switch/switchbot/MAC_ADDRESS/state on success
|
4 years ago |
Fabian Peter Hammerle
|
396e3423ec
added command line parameters --mqtt-username and --mqtt-password
|
4 years ago |
Fabian Peter Hammerle
|
e5104d4851
fix import order
|
4 years ago |
Fabian Peter Hammerle
|
421c928905
test _mqtt_on_message callback
|
4 years ago |
Fabian Peter Hammerle
|
040db05101
refactor: split _run from _main; added tests
|
4 years ago |