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

Adjust Time: reset error #11

Closed
Bart39 opened this issue Apr 24, 2021 · 2 comments
Closed

Adjust Time: reset error #11

Bart39 opened this issue Apr 24, 2021 · 2 comments

Comments

@Bart39
Copy link

Bart39 commented Apr 24, 2021

Describe the bug
Calling the adjust time service with reset fails with error:
"Must contain one of actual, percentage, increase, decrease"

To Reproduce
Steps to reproduce the behavior:

  1. using developer tools run the following service parameters
  2. service: irrigation_unlimited.adjust_time data: entity_id: binary_sensor.irrigation_unlimited_c1_m reset: ''

Expected behavior
run times for specified entity are reset to the schedule defaults

Additional context
cv.has_at_least_one_key(CONF_ACTUAL, CONF_PERCENTAGE, CONF_INCREASE, CONF_DECREASE)
this should also contain CONF_RESET

@rgc99
Copy link
Owner

rgc99 commented Apr 26, 2021

Yep, broken. Suggested workaround is to use percentage = 100 or increase/decrease = '00:00'.

@rgc99
Copy link
Owner

rgc99 commented May 16, 2021

Fix now included in release 2021.5.7

@rgc99 rgc99 closed this as completed May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants