Commit History

Autor SHA1 Mensaxe Data
  Fabian Peter Hammerle 6a4b722b53 upgrade black from 23.12.1 to 24.1.0 hai 10 meses
  Fabian Peter Hammerle 8329e53782 require `PySwitchbot>=0.14.0,<0.41` instead of `PySwitchbot>=0.10.0,<0.13` & replace bluepy with bleak hai 1 ano
  Fabian Peter Hammerle 7295009570 enable TLS by default; remove command-line option `--mqtt-enable-tls` hai 1 ano
  Fabian Peter Hammerle 52764c2695 replace paho-mqtt with its async wrapper aiomqtt (to prepare for upgrading PySwitchbot) hai 1 ano
  Fabian Peter Hammerle b7197cbc67 pylint: enable various optional checks/extensions %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle 64a57aa390 add command-line option `--mqtt-topic-prefix` %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle dce4e5601e refactor: add param `mqtt_topic_prefix` to internal function `_run` %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle 680dc5e6bb refactor: rename module `switchbot_mqtt/_actors/{_base->base}` (cause accessed by outer `switchbot_mqtt` & `switchbot_mqtt._cli`) %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle 4416a97213 refactor: move `_TOPIC_LEVELS_PREFIX` to `_MQTTCallbackUserdata.mqtt_topic_prefix` (to prepare parametrization via commmand-line argument) %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle 3431242e67 add command-line option --mqtt-disable-tls (for upward compatibility; enabled by default) %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle 4ffe0c4023 add command-line option `--mqtt-enable-tls` %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle 22ef4b6299 internal function `_run`: add parameter to enable/disable TLS %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle c6bc41e1c3 add additional (internal) type hints to enable mypy's strict mode %!s(int64=2) %!d(string=hai) anos
  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`) %!s(int64=3) %!d(string=hai) anos
  Fabian Peter Hammerle 2468700b4a refactor: move `_main` to switchbot_mqtt/_cli.py %!s(int64=3) %!d(string=hai) anos