Xiaomi Air Purifier filter life remaining in days

Xiaomi Home App gives us information about filter life in % and in days. Current integration (2021.9.2) has filter life in %, but missing the same information in days.
This can be done by taking used hours value. New filters have initial value at 145 days, so the working formula should be like this:

Filter life remaining in days = 145 - (Filter use in hours) / 24