esphome/esphome/components/sprinkler
Keith Burzinski 98b3d294aa
Sprinkler "v2" updates (#4159)
* Add standby switch

* Add support for arbitrary run duration in start_single_valve action

* Add divider feature

* Allow zero multiplier

* Fixes for #3740, misc. cleanup and polishing

* Integrate number components for multiplier, repeat and run duration

* Add various methods to get time remaining

* Add next_prev_ignore_disabled flag

* Optimize next/previous valve selection methods

* Add numbers_use_minutes flag

* Initialize switch states as they are set up

* Ensure SprinklerControllerSwitch has state if it's not restored

* Add repeat validation

* Misc. clean-up and tweaking

* Fix bugprone-integer-division

* More clean-up

* Set entity_category for standby_switch

* Set default entity_category for numbers

* More housekeeping

* Add run request tracking

* Fix time remaining calculation

* Use native unit_of_measurement for run duration numbers

* Unstack some ifs
2023-02-22 01:47:50 +00:00
..
__init__.py Sprinkler "v2" updates (#4159) 2023-02-22 01:47:50 +00:00
automation.h Sprinkler "v2" updates (#4159) 2023-02-22 01:47:50 +00:00
sprinkler.cpp Sprinkler "v2" updates (#4159) 2023-02-22 01:47:50 +00:00
sprinkler.h Sprinkler "v2" updates (#4159) 2023-02-22 01:47:50 +00:00