Open abdelhadj opened 2 years ago
I believe you should get the colors you want with this:
colors: [
{ upTo: 15, value: "red", label: "red", suffix: "red" },
{ upTo: 60, value: "green", label: "green", suffix: "green" },
{ upTo: 1000, value: "blue", label: "blue", suffix: "blue" },
]
Just change 1000 with something that is higher than max possible, and use the color you want.
You could maybe get an alert displayed with sending it as a value, but there is no special feature for that.
Hello, thank you for the module, i am using it for Mi Flora sensor to retrive moisture. i would like to put the text in red if value is under 15, and green between 15 and 60, is there other argument than UpTo?
also is it possible to create notification or alerte to send to MM like " please water the plant" ?
Thank you :)