a26a93550b
feat(config)!: In config devices can now also be a (table of) function(s)
...
Build and deploy / Deploy container (push) Blocked by required conditions
Build and deploy / build (push) Has been cancelled
This function receives the mqtt client as an argument. In the future
this will be the only way to create devices that require the mqtt client.
2025-10-19 04:18:26 +02:00
3b7579878b
feat: Use ActionCallback for schedule
...
This has two advantages:
- Each schedule entry can take either a single function or table of
functions.
- We get a better type definition.
2025-10-19 03:40:16 +02:00
46c32c3605
refactor(config)!: Move scheduler out of device_manager
...
Due to changes made in mlua the new scheduler is much simpler. It also
had no real business being part of the device manager, so it has now been
moved to be part of the returned config.
2025-10-19 03:40:16 +02:00
d1e7988117
feat: Receive devices through config return
2025-10-19 03:40:15 +02:00
93b0a526b1
feat: Ensure consistent ordering device definitions
2025-10-19 03:40:15 +02:00
7bb5e65c1c
feat: Generate definitions for config
2025-10-19 03:40:15 +02:00
6fc3783d7a
feat: Added lua definition files
...
Also added a pre-commit hook to ensure that the definitions files are
up-to-date.
2025-10-15 04:23:12 +02:00
4b76bde2a6
feat: Specify (optional) interface name in PartialUserData
2025-10-15 03:44:17 +02:00
45485fca37
feat: Add proper type definition for devices
...
Depending on the implemented traits the lua class will inherit from the
associated interface class.
It also specifies the constructor function for each of the devices.
2025-10-15 00:45:37 +02:00