File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,15 @@ def __init__(self, ad: "AppDaemon"):
7878 self .callback_list = []
7979
8080 @property
81- def pin_apps (self ):
81+ def pin_apps (self ) -> bool :
8282 "Whether each app should be pinned to a thread"
8383 return self .AD .config .pin_apps
8484
85+ @pin_apps .setter
86+ def pin_apps (self , new : bool ) -> None :
87+ """Set whether each app should be pinned to a thread"""
88+ self .AD .config .pin_apps = new
89+
8590 @property
8691 def total_threads (self ) -> int :
8792 """Number of threads created for apps.
Original file line number Diff line number Diff line change 1010
1111- Fixed a cosmetic error on admin stream disconnect
1212- Fixed spurious entry in service dictionary causing dashboard `__ name`` errors
13+ - Added setter for setter for ` pin_apps `
1314
1415** Breaking Changes**
1516
You can’t perform that action at this time.
0 commit comments