I would like to apply the following logic, and I’d love to get some feedback on the best approach:
If our tv is active, keep the blind closed;
else, if it’s daytime (determined by mode manager between sunrise/sunset), keep windows open
if it’s nighttime, close the blind.