Skip to content

Weighting support with Maximum hours mode #65

@ragg987

Description

@ragg987

Describe the feature

Can I request that Maximum hours mode and weightings be an allowed combination.

According to the documentation weightings are only allowed with Exact hours mode - can you include maximum as an allowable combination please.

Expected behaviour

Weightings plus Maximum hours are a valid combination. Other features to continue to be respected - i.e. find the optimum slot bearing in mind octopus rates, run hours, weightings etc.

Use Case

I use TT to set my ASHP heating hours. In this very cold weather the calculated window is sometimes over 24 hours, so I have applied some logic that will cap the value before calling the service to update the target hours dynamically. I do this once a day at the start of my 24h forward-looking window.

This generally works, however on a HA restart I re-trigger the hours calculation and it tries to update the TT binary sensor and I am getting the error "Error: Weighting is not supported for this hour mode"

However I am also using weightings as if the timings allow I would like heating to take account that it takes a lot more power to start from cold.

Confirmation

  • By submitting this feature request, you agree that you have read the documentation and confirmed it does not already exist
  • I am willing/able to help contribute to the solution of this feature

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions