websocket-server

When this plugin is registered, it will start a websocket server that

- Fires a list of registered automations once Hass has loaded - Forwards events from the internal event bus over the websocket

Name websocket-server
Type Function
Path packages/websocket-plugin/src/websocket-server-plugin.ts

Signature

    websocketServer: (config: WebsocketServerPluginConfig) => IBlocksPlugin 

Parameters

Name Type Description
config WebsocketServerPluginConfig

Return Value

IBlocksPlugin