As an example use following:
|
| `async_track_point_in_time` | Add a listener that fires once after a specific point in time |
So, if I would like to use this async_track_point_in_time, where do I find the parameters I'm supposed to add as input? How is this specific time defined for the function?
The only example in the beginning shows a simple use case, but does not define parameter types, which I think are equally as important to know how the function is supposed to be working. If the code is the documentation, perhaps links to the code should be added.
|
```python3 |
|
unsub = async_track_state_change_event(hass, entity_ids, state_automation_listener) |
|
unsub() |
|
``` |
As an example use following:
developers.home-assistant/docs/integration_listen_events.md
Line 48 in cb8bec6
So, if I would like to use this async_track_point_in_time, where do I find the parameters I'm supposed to add as input? How is this specific time defined for the function?
The only example in the beginning shows a simple use case, but does not define parameter types, which I think are equally as important to know how the function is supposed to be working. If the code is the documentation, perhaps links to the code should be added.
developers.home-assistant/docs/integration_listen_events.md
Lines 15 to 18 in cb8bec6