12 Commits

Author SHA1 Message Date
Steven B
b1f7754f36
Add range to alarm_volume feature 2025-01-23 12:40:06 +00:00
Teemu Rytilahti
dbd80e6ee9 Add mute volume and allow passing volume as integer 2024-12-13 18:22:33 +01:00
Teemu Rytilahti
0c58b5e532 constify max duration 2024-12-05 16:27:00 +01:00
Teemu Rytilahti
5a7ad6ec2e One more try 2024-12-05 16:15:29 +01:00
Teemu Rytilahti
000ae509d2 Add value checks 2024-12-05 16:06:37 +01:00
Teemu Rytilahti
8323753740 Expose alarm_duration, fix play setter signature 2024-12-05 15:22:22 +01:00
Teemu Rytilahti
0f7e007663 Allow passing alarm parameter overrides 2024-12-04 21:41:08 +01:00
Teemu R.
66eb17057e
Enable ruff check for ANN (#1139) 2024-11-10 18:55:13 +00:00
Teemu R.
2a89e58ae0
Add missing type hints to alarm module (#1111) 2024-09-10 17:20:00 +01:00
Steven B.
7bba9926ed
Allow erroring modules to recover (#1080)
Re-query failed modules after some delay instead of immediately disabling them.
Changes to features so they can still be created when modules are erroring.
2024-07-30 19:23:07 +01:00
Teemu R
0f5bafaa43
Require explicit feature type (#1006)
Explicit > implicit. Having this previously would have avoided using a
wrong type for water_alert in the first place.
2024-06-25 18:30:36 +02:00
Steven B
f259a8f162
Make module names consistent and remove redundant module casting (#909)
Address the inconsistent naming of smart modules by removing all "Module" suffixes and aligning filenames with class names. Removes the casting of modules to the correct module type now that is is redundant. Update the adding of iot modules to use the ModuleName class rather than a free string.
2024-05-11 19:28:18 +01:00