summaryrefslogtreecommitdiff
path: root/cache.go
AgeCommit message (Collapse)Author
2 daysSeparate MQTT logicxengineering
This reduces the coupling between the MQTT-related code and everything else to a single `tx` channel of type `MQTTMessage`. This improves the code quality significantly.
2 daysUpdate payload for contact statesxengineering
`true` and `false` are bad values to describe a contact state. `open` and `closed` make much more sense.
2 daysAdd cache implementationxengineering
This avoids frequent MQTT messages containing the same state.