Teemu R 6e5cae1f47
Implement action feature (#849)
Adds `FeatureType.Action` making it possible to expose features like
"reboot", "test alarm", "pair" etc.

The `attribute_getter` is no longer mandatory, but it will raise an
exception if not defined for other types than actions.
Trying to read returns a static string `<Action>`.
This overloads the `set_value` to call the given callable on any value.

This also fixes the `play` and `stop` coroutines of the alarm module to
await the call.
2024-04-23 19:49:04 +02:00
..
2024-04-23 19:20:12 +02:00
2024-04-23 19:49:04 +02:00
2024-04-23 19:49:04 +02:00
2024-04-23 19:20:12 +02:00
2024-04-23 19:20:12 +02:00
2024-04-23 19:49:04 +02:00
2024-01-23 15:29:27 +00:00