„main.py“ ändern
This commit is contained in:
parent
f66274cd1d
commit
dda937611f
2
main.py
2
main.py
|
@ -409,7 +409,7 @@ async def TCSBusWriter(message):
|
|||
writerActive = False
|
||||
|
||||
# Main method for external API (=FHEM)
|
||||
await def ExternalAPI(action):
|
||||
async def ExternalAPI(action):
|
||||
Logger.LogMessage("External API action: " + action)
|
||||
if (action == "doorbell"):
|
||||
response = requests.get(configs['fhem_door_ringed'])
|
||||
|
|
Loading…
Reference in New Issue