Commit Graph

21 Commits

Author SHA1 Message Date
Mikhail Epifanov
962d617839
switch to threading, f multiprocessing in python 2024-02-06 00:37:37 +01:00
Mikhail Epifanov
65a7c82af9
terminate worker on finalize 2024-02-06 00:17:23 +01:00
Mikhail Epifanov
16e8c1e8e3
disable connector in tests 2024-02-06 00:02:38 +01:00
Mikhail Epifanov
2a6c13fc5c
add finalizer to stop worker on terminate 2024-02-05 23:50:57 +01:00
Mikhail Epifanov
0e945f4bd7
add startup & termination log to worker 2024-02-05 23:40:50 +01:00
Mikhail Epifanov
0279013f72
remove loop closing 2024-02-05 23:37:18 +01:00
Mikhail Epifanov
247907ef25
move from signals to apps, add dedicated feature docs, add config toggle to menu item, undo unnecessary changes 2024-02-05 23:26:33 +01:00
Mikhail Epifanov
502a606534
Update the code based on feedback. set Default to enabled, add to documentation how to disable it. Add extra documentation 2024-01-28 22:59:51 +01:00
Mikhail Epifanov
ba169ba38d
better logging on skipped action 2024-01-24 08:59:31 +01:00
Mikhail Epifanov
578bb2af25
better error handling during connector initilization 2024-01-24 08:57:24 +01:00
Mikhail Epifanov
409c0295ec
convert example & homeassistant specific configs to a generic with all optional fields 2024-01-17 22:40:44 +01:00
Mikhail Epifanov
245787b89e
make the connectors form be able to display all types for connectors 2024-01-14 17:03:02 +01:00
Mikhail Epifanov
87ede4b9cc
change formatting a bit, and add async close method 2024-01-13 13:43:08 +01:00
Mikhail Epifanov
50eb232fff
update tests and fix small bug in connector_manager 2024-01-13 00:24:58 +01:00
Mikhail Epifanov
022439e017
increase queue size to account for recipe adding burst 2024-01-12 23:40:16 +01:00
Mikhail Epifanov
9cf3bdd5f2
write some simple tests 2024-01-12 23:13:53 +01:00
Mikhail Epifanov
445e64c71e
add an config toggle for external connectors 2024-01-12 22:20:55 +01:00
Mikhail Epifanov
d576394c99
run everything in a seperate process 2024-01-12 20:50:23 +01:00
Mikhail Epifanov
a61f79507b
add enabled field 2024-01-11 23:11:04 +01:00
Mikhail Epifanov
6a393acd26
redo migration. cleanup commented out code 2024-01-11 22:35:58 +01:00
Mikhail Epifanov
e5f0c19cdc
Add ConnectorManager component which allows for Connectors to listen to triggers and do actions on them. Also add HomeAssistantConfig which stores the configuration for the HomeAssistantConnector 2024-01-11 22:13:20 +01:00