File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
custom_components/config_editor Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -120,9 +120,13 @@ def permi():
120120 elif (action == 'list' ):
121121 dirnm = os .path .dirname (hass .config .path (yamlname ))
122122 listyaml = []
123- rec (dirnm , '' )
123+ def reca ():
124+ rec (dirnm , '' )
125+ await hass .async_add_executor_job (reca )
124126 if msg ["depth" ]> 0 :
125- drec (dirnm , '' )
127+ def dreca ():
128+ drec (dirnm , '' )
129+ await hass .async_add_executor_job (dreca )
126130 if (len (listyaml ) < 1 ):
127131 listyaml = ['list_error.' + ext ]
128132 connection .send_result (
Original file line number Diff line number Diff line change 55 "documentation" : " https://github.com/junkfix/config-editor-card" ,
66 "iot_class" : " local_polling" ,
77 "issue_tracker" : " https://github.com/junkfix/config-editor/issues" ,
8- "version" : " 4.4"
8+ "version" : " 4.4.2 "
99}
You can’t perform that action at this time.
0 commit comments