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

Alter (transform) certain data points #445

Open
jazzmonger opened this issue Aug 27, 2024 · 0 comments
Open

Alter (transform) certain data points #445

jazzmonger opened this issue Aug 27, 2024 · 0 comments

Comments

@jazzmonger
Copy link

I have a tuya ac unit that throws out anomalies when the temp reading is under 61 degrees.
IMG_3092

I tried the filter map but it's averaging data values resulting in incorrect data. Trying to remap those values doesn't give me the desired result.
IMG_3094

I actually want to "replace" certain data values less than 20 by adding back a constant value:
If datapoint < 20
datapoint + 45

Is this possible? Or do I need to create some sort of template sensor?

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