Commit Verlauf

Autor SHA1 Nachricht Datum
  Fabian Peter Hammerle ed7f106a95 document new birth & last will message in readme & changelog; extend tests; refactor vor 2 Jahren
  Philipp Basler 7bd771b517 Added retain flag to Birth and LWT vor 2 Jahren
  Philipp Basler b393048062 format with black vor 2 Jahren
  Philipp Basler e5e12fccd9 add prefix to status topic vor 2 Jahren
  Philipp Basler e3e8f0f0b2 Change to "status" topic vor 2 Jahren
  Philipp Basler 3010853d51 Update switchbot_mqtt/__init__.py vor 2 Jahren
  Philipp Basler 0855bdbc60 Update switchbot_mqtt/__init__.py vor 2 Jahren
  Philipp Basler be37ef7b37 Update switchbot_mqtt/__init__.py vor 2 Jahren
  Philipp Basler d08df9ecf9 renamed to availibility_topic vor 2 Jahren
  Philipp Basler abc512515b Add birth and LWT Message vor 2 Jahren
  Fabian Peter Hammerle 659eef7697 fix `ValueError: too many values to unpack` when connecting to MQTT broker via IPv6 vor 2 Jahren
  Fabian Peter Hammerle dce4e5601e refactor: add param `mqtt_topic_prefix` to internal function `_run` vor 2 Jahren
  Fabian Peter Hammerle 680dc5e6bb refactor: rename module `switchbot_mqtt/_actors/{_base->base}` (cause accessed by outer `switchbot_mqtt` & `switchbot_mqtt._cli`) vor 2 Jahren
  Fabian Peter Hammerle 4416a97213 refactor: move `_TOPIC_LEVELS_PREFIX` to `_MQTTCallbackUserdata.mqtt_topic_prefix` (to prepare parametrization via commmand-line argument) vor 2 Jahren
  Fabian Peter Hammerle 965ca2646e indicate in log message whether TLS is enabled vor 2 Jahren
  Fabian Peter Hammerle 22ef4b6299 internal function `_run`: add parameter to enable/disable TLS vor 2 Jahren
  Fabian Peter Hammerle c6bc41e1c3 add additional (internal) type hints to enable mypy's strict mode vor 2 Jahren
  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`) vor 3 Jahren
  Fabian Peter Hammerle f6be995e7a refactor: split `_MQTTControlledActor` into new switchbot_mqtt/_actors/_base.py vor 3 Jahren
  Fabian Peter Hammerle 383e1e9cce refactor: move actor classes to switchbot_mqtt/_actors.py vor 3 Jahren
  Fabian Peter Hammerle cf6dfff0d1 refactor: move a few definitions to switchbot_mqtt/_utils.py vor 3 Jahren
  Fabian Peter Hammerle 2468700b4a refactor: move `_main` to switchbot_mqtt/_cli.py vor 3 Jahren
  Fabian Peter Hammerle ef51646189 `--fetch-device-info` can now alternatively be enabled by setting env var `FETCH_DEVICE_INFO` vor 3 Jahren
  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) vor 3 Jahren
  Fabian Peter Hammerle de6d509bdd change default log level from `DEBUG` to `INFO`; added option `--debug` vor 3 Jahren
  Fabian Peter Hammerle 4feeb7a56d report button automator's battery level in topic `homeassistant/cover/switchbot/MAC_ADDRESS/battery-percentage` after every command vor 3 Jahren
  Fabian Peter Hammerle 32c2b2364f report curtain motor's battery level in topic `homeassistant/cover/switchbot-curtain/MAC_ADDRESS/battery-percentage` after every command vor 3 Jahren
  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) vor 3 Jahren
  Fabian Peter Hammerle fcb34cee5e drop compatibility with python3.5 vor 3 Jahren
  Fabian Peter Hammerle c7e77dc37f refactor to remove duplicate definition of _CurtainMotor._MQTT_POSITION_TOPIC_LEVELS vor 3 Jahren