Some renaming

This commit is contained in:
2024-08-21 16:30:43 +02:00
parent 94ba832932
commit 3eaae13dc3
8 changed files with 38 additions and 16 deletions

View File

@@ -39,8 +39,8 @@ async def get_status() -> dict:
@app.post("/homeassistant/publish")
async def homeassistant_publish(payload: HomeAssistant.PublishMessage) -> dict:
return homeassistant.process_publish_message(message=payload)
async def homeassistant_publish(payload: HomeAssistant.Message) -> dict:
return homeassistant.process_message(message=payload)
# Poo recorder