Fabian Peter Hammerle
|
8eff3b0544
refactor: split `_parse_mqtt_topic` from `_MQTTControlledActor._mqtt_command_callback`
|
3 years ago |
Fabian Peter Hammerle
|
f6be995e7a
refactor: split `_MQTTControlledActor` into new switchbot_mqtt/_actors/_base.py
|
3 years ago |
Fabian Peter Hammerle
|
383e1e9cce
refactor: move actor classes to switchbot_mqtt/_actors.py
|
3 years ago |
Fabian Peter Hammerle
|
cf6dfff0d1
refactor: move a few definitions to switchbot_mqtt/_utils.py
|
3 years ago |
Fabian Peter Hammerle
|
2468700b4a
refactor: move `_main` to switchbot_mqtt/_cli.py
|
3 years ago |
dependabot[bot]
|
f324c971b2
build(deps): bump actions/checkout from 2.3.4 to 2.3.5
|
3 years ago |
Fabian Peter Hammerle
|
efc5352b9b
release v2.1.0
|
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
|
32c3391404
report battery level of button automators on expected topic `homeassistant/switch/switchbot/MAC_ADDRESS/battery-percentage` (commit 4feeb7a56d99d2a3b3649c027a150157d2678b2c introduced report on unexpected topic)
|
3 years ago |
Fabian Peter Hammerle
|
e5cd4145e7
release v2.0.0
|
3 years ago |
Fabian Peter Hammerle
|
de6d509bdd
change default log level from `DEBUG` to `INFO`; added option `--debug`
|
3 years ago |
Fabian Peter Hammerle
|
3ee4888e3a
test against python3.10
|
3 years ago |
Fabian Peter Hammerle
|
4feeb7a56d
report button automator's battery level in topic `homeassistant/cover/switchbot/MAC_ADDRESS/battery-percentage` after every command
|
3 years ago |
Fabian Peter Hammerle
|
32c2b2364f
report curtain motor's battery level in topic `homeassistant/cover/switchbot-curtain/MAC_ADDRESS/battery-percentage` after every command
|
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
|
fcb34cee5e
drop compatibility with python3.5
|
3 years ago |
Fabian Peter Hammerle
|
1bd498bbfd
changelog: document release v1.1.0 (tag on previous commit)
|
3 years ago |
Fabian Peter Hammerle
|
c7e77dc37f
refactor to remove duplicate definition of _CurtainMotor._MQTT_POSITION_TOPIC_LEVELS
|
3 years ago |
Fabian Peter Hammerle
|
81ab4563c4
`BTLEManagementError`: added workaround instructions for docker-based setups
|
3 years ago |
Fabian Peter Hammerle
|
22d3f7bc2c
fix capturing of `BTLEManagementError` on pySwitchbot v0.10.1
|
3 years ago |
Fabian Peter Hammerle
|
fadf3877c9
provide further information & workaround in exception msg when `le on` triggers `BTLEManagementError`
|
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
|
0e9729f601
curtains: report position after sending stop command
|
3 years ago |
Fabian Peter Hammerle
|
794d14c512
implement _CurtainMotor._report_position()
|
3 years ago |
Fabian Peter Hammerle
|
a508804751
fix argument type hints of internal `{_ButtonAutomator,_CurtainMotor}.__init__`
|
3 years ago |
Fabian Peter Hammerle
|
722e69c83b
re-lock dev env
|
3 years ago |
dependabot[bot]
|
80f88cb0eb
build(deps): bump docker/build-push-action from 2.5.0 to 2.7.0
|
3 years ago |
dependabot[bot]
|
5e48c942f2
build(deps): bump docker/setup-buildx-action from 1.3.0 to 1.6.0
|
3 years ago |
dependabot[bot]
|
c38be35455
build(deps): bump actions/checkout from 1 to 2.3.4
|
3 years ago |
dependabot[bot]
|
b3ca2cd949
build(deps): bump actions/setup-python from 1 to 2.2.2
|
3 years ago |