Module homey.cloud_webhook

Classes

class CloudWebhook

A webhook that can receive incoming messages.

Ancestors

Methods

async def unregister(self) ‑> None

Unregister this webhook handler.

def on_message(self,
f: Callable[[WebhookMessage], None]) ‑> Self

The message event is fired when a webhook message is received.

Args

f
A callback that receives a dict containing the headers, query, and body of the message.

Inherited members

class WebhookMessage

Ancestors

  • builtins.dict

Instance variables

var body : Any
var headers : dict[str, str]
var query : dict[str, str]