Hello everyone and happy new year ,
I’d like to use a attribute from my xiaomi vacuum where is states the start and end of the latest cleaning cycle.
The format stated is “2019-01-01T13:11:17” but I’d like to trim all characters from T, so the sensor value would be “2019-01-01”.
What template code could I use for this?