Commit Graph

13 Commits

Author SHA1 Message Date
Dreaded_X 17a68e8991 feat: Added optional definition function to module 2025-10-15 03:53:55 +02:00
Dreaded_X 9bddeae54e feat: Use Typed::type_name for Timeout proxy name 2025-10-15 03:53:06 +02:00
Dreaded_X 97b944874a feat: Added/expanded Typed impls 2025-10-15 03:50:50 +02:00
Dreaded_X 54164c517b feat: Remove automatic automation: module prefix
Instead the prefix should be manually specified if it is desired.
2025-10-15 03:50:36 +02:00
Dreaded_X cd470cadaf feat!: Expanded add_methods to extra_user_data
Instead of being a function it now expects a struct with the
PartialUserData trait implemented. This in part ensures the correct
function signature.

It also adds another optional function to PartialUserData that returns
definitions for the added methods.
2025-10-15 03:44:17 +02:00
Dreaded_X 4b76bde2a6 feat: Specify (optional) interface name in PartialUserData 2025-10-15 03:44:17 +02:00
Dreaded_X 006a561307 feat: Use PartialUserData on proxy type to add trait methods 2025-10-15 03:44:17 +02:00
Dreaded_X 76eb63cd97 feat: Use same add_methods mechanic for Device as for other traits
Build and deploy / build (push) Successful in 9m57s
Build and deploy / Deploy container (push) Has been skipped
2025-10-10 03:33:28 +02:00
Dreaded_X 5271e5ad81 refactor(config)!: Moved Timeout into utils module and moved module
Build and deploy / build (push) Successful in 10m43s
Build and deploy / Deploy container (push) Successful in 39s
The module is now setup in automation_lib::lua::utils.
2025-09-10 02:11:11 +02:00
Dreaded_X 95a8a377e8 feat!: Removed AddAdditionalMethods
It has been replaced with the add_methods device attribute.
2025-09-10 01:58:48 +02:00
Dreaded_X 1b8566e593 refactor: Switch to async closures 2025-09-04 04:15:08 +02:00
Dreaded_X 64c7d950c5 Make it possible to send notifications from lua 2025-08-31 03:55:07 +02:00
Dreaded_X d2b01123b8 Made the impl_device macro more explicit about the implemented traits
This also converts impl_device into a procedural macro and get rid of a
lot of "magic" that was happening.
2025-08-31 00:38:58 +02:00