Fabian Peter Hammerle
|
b7197cbc67
pylint: enable various optional checks/extensions
|
2 anni fa |
Fabian Peter Hammerle
|
f0f5e96b77
disable pylint's similarity checks locally
|
2 anni fa |
Fabian Peter Hammerle
|
4416a97213
refactor: move `_TOPIC_LEVELS_PREFIX` to `_MQTTCallbackUserdata.mqtt_topic_prefix` (to prepare parametrization via commmand-line argument)
|
2 anni fa |
Fabian Peter Hammerle
|
557669a92c
button automators: no longer report battery% on deprecated topic `homeassistant/cover/switchbot/+/battery-percentage`
|
2 anni fa |
Fabian Peter Hammerle
|
c6bc41e1c3
add additional (internal) type hints to enable mypy's strict mode
|
2 anni fa |
Fabian Peter Hammerle
|
5c7d230a80
loosen version constraint to support PySwitchbot v0.11.0; update dev env & adapt tests for new PySwitchbot version
|
3 anni fa |
Fabian Peter Hammerle
|
383e1e9cce
refactor: move actor classes to switchbot_mqtt/_actors.py
|
3 anni fa |
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 anni fa |
Fabian Peter Hammerle
|
4feeb7a56d
report button automator's battery level in topic `homeassistant/cover/switchbot/MAC_ADDRESS/battery-percentage` after every command
|
3 anni fa |
Fabian Peter Hammerle
|
fcb34cee5e
drop compatibility with python3.5
|
3 anni fa |
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 anni fa |
Fabian Peter Hammerle
|
f9cc568450
callbacks: add support for device passwords
|
3 anni fa |
Fabian Peter Hammerle
|
57906b1176
added command-line parameter `--retries` to alter maximum number of attempts to send a command to a SwitchBot device
|
3 anni fa |
Fabian Peter Hammerle
|
44f2706bde
add support for switchbot curtain motors
|
3 anni fa |