Commit History

Autor SHA1 Mensaxe Data
  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 878afa9bf6 fix "TypeError: 'ABCMeta' object is not subscriptable" on python<3.9 %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle d9ed83a845 send command to set curtain motors' position %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle 1a9a7d4722 subscribe to topic `homeassistant/cover/switchbot-curtain/+/position/set-percent` %!s(int64=2) %!d(string=hai) anos
  Fabian Peter Hammerle 8eff3b0544 refactor: split `_parse_mqtt_topic` from `_MQTTControlledActor._mqtt_command_callback` %!s(int64=3) %!d(string=hai) anos
  Fabian Peter Hammerle cf6dfff0d1 refactor: move a few definitions to switchbot_mqtt/_utils.py %!s(int64=3) %!d(string=hai) anos