formatting
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import logging.config
|
import logging.config
|
||||||
from pathlib import Path
|
|
||||||
import re
|
import re
|
||||||
from abc import ABC
|
from abc import ABC
|
||||||
from dataclasses import asdict
|
from dataclasses import asdict
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ class Motion(Hass):
|
|||||||
|
|
||||||
for handle, cb in self.callbacks():
|
for handle, cb in self.callbacks():
|
||||||
self.log(f'Handle [yellow]{handle[:4]}[/]: {cb.function}', level='DEBUG')
|
self.log(f'Handle [yellow]{handle[:4]}[/]: {cb.function}', level='DEBUG')
|
||||||
|
|
||||||
self.log(f'Initialized [bold green]{type(self).__name__}[/]')
|
self.log(f'Initialized [bold green]{type(self).__name__}[/]')
|
||||||
|
|
||||||
def callbacks(self):
|
def callbacks(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user