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

[FR]: today_min/max/mean but only for the rest of today #409

Open
SorenHolm opened this issue Dec 20, 2023 · 0 comments
Open

[FR]: today_min/max/mean but only for the rest of today #409

SorenHolm opened this issue Dec 20, 2023 · 0 comments
Labels
feature request New feature or enhancement

Comments

@SorenHolm
Copy link

Describe the feature you wish to make a request for

I would like to request additional attributes that behave like today_min, today_max and today_mean but disregard the past.

These might be called e.g. today_remaining_min, today_remaining_max and today_remaining_mean.

My use case is: When automating or evaluating charging, chores or whatever, based on price, I find that e.g. today_min might very well have been at 02:00 this morning, which doesn't tell me anything about the rest of the day.

Best regards,
Søren

Describe alternatives you've considered

At this time, I have sort of met my own need by periodically running a home cooked function node in Node Red which runs through the today array, but starting at new Date().getHours(), and deposits the value in two helpers for me.

Additional context

No response

@SorenHolm SorenHolm added the feature request New feature or enhancement label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant