9 Commits
Author SHA1 Message Date
Franck Nijhof f67ebcade1 Enable Ruff SIM201 (#88171) 2023-02-15 14:43:02 +01:00
Franck Nijhofandjjlawren f39f3b612a String formatting and max line length - Part 5 (#84501)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 16:43:17 +01:00
epenet 996bcbdac6 Make EntityComponent generic (#78473) 2022-09-14 14:16:23 -04:00
Erik Montnemery b0d033ef29 Add mixin class CollectionEntity for the collection helper (#77703)
* Add mixin class CollectionEntity for the collection helper

* Improve typing

* Address review comments

* Fix tests
2022-09-03 12:56:49 +02:00
amitfinandErik 32e4a2515e Time range should be treated as open ended (#77660)
* Time range should be treated as open end

* Refactored the logic of calculating the state

* Improve tests

* Improve tests

Co-authored-by: Erik <erik@montnemery.com>
2022-09-02 08:14:06 +02:00
Erik Montnemery d0375959fd Add additional test to schedule (#77601) 2022-08-31 15:19:50 +02:00
Erik Montnemery 7c5a5f86ee Allow setting to-time in schedule to 24:00 (#77558) 2022-08-30 15:54:31 -04:00
Erik Montnemery cac4015882 Fix schedule during single weekday (#77543) 2022-08-30 08:14:46 -04:00
Franck NijhofandPaulus Schoutsen f0827a20c3 Add schedule helper (#76566)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-08-11 16:14:01 +02:00