jack-blackson / ioBroker.countdown

Countdown Adapter for ioBroker
MIT License
5 stars 5 forks source link

Feature request: totalMonth #93

Closed Milbert-R closed 1 year ago

Milbert-R commented 1 year ago

Is it possible to add datapoint for totalMonth?

I have a countdown to the start of my retirement, which ends in 6 years and 8 months. It would be nice to see total of months workingtime is left...

jack-blackson commented 1 year ago

This is a good idea - i already added it to the adapter. I published version 2.0.1 some minutes ago, so you should find it in a few hours in the beta/latest channel. Please let me know if it works out for you.

Milbert-R commented 1 year ago

Works fine - thank you! I think you calculate the number of months including the month that has already started. For my purpose I only need the remaining full months - but I can easily adjust that for myself with an alias,,,

jack-blackson commented 1 year ago

I just gave it a try. When I select the 30.5., totalMonths is 0, for the 1.6. it is one. So from my perspective, it works as it should - it calculates how many calendar months are open. Or do you expected other results?

Milbert-R commented 1 year ago

Everything is ok for me - thank you very much!