Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tuya device. Using a variable value to generate a message #8057

Open
zhapwey opened this issue Oct 1, 2024 · 0 comments
Open

Tuya device. Using a variable value to generate a message #8057

zhapwey opened this issue Oct 1, 2024 · 0 comments

Comments

@zhapwey
Copy link

zhapwey commented Oct 1, 2024

I'm trying to send heat, cool, off on a thermostat that has runing_state on/off. I got it by using globalstore, saving the system_mode and when it is on, it depends on the system_mode to output heat or cold. This usually works fine, but when you restart z2m the globalstore values ​​are lost and it stops working until it sends a new system_mode. Is there a way to use state.json or something similar to make that value persist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant