30ea9b2737
feat: Use Typed type_name for registering proxy
2025-10-15 03:44:17 +02:00
4b76bde2a6
feat: Specify (optional) interface name in PartialUserData
2025-10-15 03:44:17 +02:00
1532958a86
feat: Added Typed impl for all automation devices
...
To accomplish this a basic implementation was also provided for some
types in automation_lib
2025-10-15 00:45:37 +02:00
4e28ad0f85
feat!: Improve device type registration
...
Build and deploy / build (push) Successful in 10m37s
Build and deploy / Deploy container (push) Successful in 38s
Instead of one function that contains all the device types available in
`automation_devices` a global registry is used were each device can
register itself.
2025-09-10 03:02:05 +02:00
da04fad520
refactor(config)!: Move device proxies into module
...
Instead of registering the device proxies in the global namespace they
are now registered in a module called `devices`.
2025-09-10 02:11:09 +02:00
84e4b30b6a
feat!: Improve lua module registration
...
Instead of having to call all the module registration functions in one
place it is possible for each module to register itself in a global registry.
During startup all the all the modules will be registered
automatically.
This does currently have one weakness, to need to ensure that the crate
is linked.
2025-09-10 02:10:45 +02:00
fefccf03d7
Removed DebugBridge as it no longer served a purpose
2025-08-31 23:57:59 +02:00
eb36d41f17
Move ntfy and presence to automation_devices
2025-08-31 04:57:31 +02:00
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
3c5bd9ffb8
Add color temperature light
2025-08-22 23:27:05 +02:00
fe83568839
Added color temperature support with ColorSetting
2025-08-22 23:27:05 +02:00
fbabc978b1
Reworked IkeaOutlet into more generic outlet that also (optionally) supports power measurement
...
Build and deploy / Build application (push) Successful in 4m15s
Build and deploy / Build container (push) Successful in 1m16s
Build and deploy / Deploy container (push) Successful in 19s
This new power measurement feature is used to turn the kettle off
automatically once it is done boiling
2025-01-26 04:48:59 +01:00
90a94934fb
Added open close trait and google home support for contact sensor
2024-12-11 22:19:31 +01:00
175056416e
Updated is_on -> on to be consistent with rust
Build and deploy / Build application (push) Successful in 3m23s
Build and deploy / Build container (push) Successful in 1m2s
Build and deploy / Deploy container (push) Successful in 18s
2024-12-08 05:35:48 +01:00
e4c211a278
Added dedicated light device and updated hallway logic
2024-12-08 05:34:51 +01:00
8c9e93dcc4
Added brightness trait
2024-12-08 05:19:27 +01:00
8877b24e84
Reorganized project
2024-12-08 00:15:03 +01:00