yi-hack-v5
yi-hack-v5 copied to clipboard
fix: Update MQTT camera_config command to be able to retain the stat…
Update MQTT camera_config command to be able to retain the state topic.
Currently if state topic is retain, the /set command is retain too and the command topic always applying the last command.
Without retain flag, state topic is lost on camera ou HA reboot.
This might fix the issue. Tested on my 27US.
This pull request has been stale for 30 days - it will be closed within the next 7 days if not updated
This pull request has been stale for 30 days - it will be closed within the next 7 days if not updated