Historique des commits

Auteur SHA1 Message Date
  Fabian Peter Hammerle c6bc41e1c3 add additional (internal) type hints to enable mypy's strict mode il y a 2 ans
  Fabian Peter Hammerle 7b25b3a3ec update & report device info when receiving msg on `homeassistant/{switch/switchbot,cover/switchbot-curtain}/MAC_ADDRESS/request-device-info` (requires `--fetch-device-info`) il y a 3 ans
  Fabian Peter Hammerle f6be995e7a refactor: split `_MQTTControlledActor` into new switchbot_mqtt/_actors/_base.py il y a 3 ans
  Fabian Peter Hammerle 383e1e9cce refactor: move actor classes to switchbot_mqtt/_actors.py il y a 3 ans
  Fabian Peter Hammerle cf6dfff0d1 refactor: move a few definitions to switchbot_mqtt/_utils.py il y a 3 ans
  Fabian Peter Hammerle 2468700b4a refactor: move `_main` to switchbot_mqtt/_cli.py il y a 3 ans
  Fabian Peter Hammerle ef51646189 `--fetch-device-info` can now alternatively be enabled by setting env var `FETCH_DEVICE_INFO` il y a 3 ans
  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) il y a 3 ans
  Fabian Peter Hammerle de6d509bdd change default log level from `DEBUG` to `INFO`; added option `--debug` il y a 3 ans
  Fabian Peter Hammerle 4feeb7a56d report button automator's battery level in topic `homeassistant/cover/switchbot/MAC_ADDRESS/battery-percentage` after every command il y a 3 ans
  Fabian Peter Hammerle 32c2b2364f report curtain motor's battery level in topic `homeassistant/cover/switchbot-curtain/MAC_ADDRESS/battery-percentage` after every command il y a 3 ans
  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) il y a 3 ans
  Fabian Peter Hammerle fcb34cee5e drop compatibility with python3.5 il y a 3 ans
  Fabian Peter Hammerle c7e77dc37f refactor to remove duplicate definition of _CurtainMotor._MQTT_POSITION_TOPIC_LEVELS il y a 3 ans
  Fabian Peter Hammerle 81ab4563c4 `BTLEManagementError`: added workaround instructions for docker-based setups il y a 3 ans
  Fabian Peter Hammerle 22d3f7bc2c fix capturing of `BTLEManagementError` on pySwitchbot v0.10.1 il y a 3 ans
  Fabian Peter Hammerle fadf3877c9 provide further information & workaround in exception msg when `le on` triggers `BTLEManagementError` il y a 3 ans
  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'`) il y a 3 ans
  Fabian Peter Hammerle 0e9729f601 curtains: report position after sending stop command il y a 3 ans
  Fabian Peter Hammerle 794d14c512 implement _CurtainMotor._report_position() il y a 3 ans
  Fabian Peter Hammerle a508804751 fix argument type hints of internal `{_ButtonAutomator,_CurtainMotor}.__init__` il y a 3 ans
  Fabian Peter Hammerle 5dc3fc3b75 added command-line param `--device-password-file` il y a 3 ans
  Fabian Peter Hammerle f9cc568450 callbacks: add support for device passwords il y a 3 ans
  Fabian Peter Hammerle 57906b1176 added command-line parameter `--retries` to alter maximum number of attempts to send a command to a SwitchBot device il y a 3 ans
  rickieyyy 0e86ffc89c Update __init__.py il y a 3 ans
  Fabian Peter Hammerle c6a19b7cb9 refactor _MQTTControlledActor: split method _mqtt_publish from report_state il y a 3 ans
  Fabian Peter Hammerle 607019f8fc log subscribed mqtt topics il y a 3 ans
  Fabian Peter Hammerle 699ecd6bda added logger name to logging format il y a 3 ans
  Fabian Peter Hammerle 44f2706bde add support for switchbot curtain motors il y a 3 ans
  Fabian Peter Hammerle b49dbfa18c upgrade paho-mqtt to no longer suppress exceptions occuring in mqtt callbacks il y a 3 ans