All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
--device-password-file
(json file mapping mac addresses to the respective password)--retries to alter maximum number of attempts to send a command
to a SwitchBot device (default unchanged)pipenv install into two stages to speed up image buildschmod files copied from host to no longer require o=rX perms on hostpodman build--force flag to rm invocation to avoid interactive questions while running podman buildOPEN, CLOSE, and STOP on topic homeassistant/cover/switchbot-curtain/aa:bb:cc:dd:ee:ff/setpaho-mqtt to no longer suppress exceptions occuring in mqtt callbacks
( https://github.com/eclipse/paho.mqtt.python/blob/v1.5.1/ChangeLog.txt#L4 )chown workaround for inter-stage copyMQTT_HOST, MQTT_PORT, MQTT_USERNAME & MQTT_PASSWORD)--mqtt-password-filepipenv failing to create cachehomeassistant/switch/switchbot/MAC_ADDRESS/state on success--mqtt-username and --mqtt-passwordSWITCHBOT_MQTT_VERSION
(fixes auto build on hub.docker.com)homeassistant/switch/switchbot/+/set.
Handle ON and OFF messages.