i-blocks-plugin

An object that implements this interface can be passed into the 'plugins' property of the initialiseBlocks config object.

Name i-blocks-plugin
Type Interface
Path packages/blocks/src/types/i-blocks-plugin.ts

Properties

Name Type Description
name string The name of the plugin - used for logging

Methods

load

This method will be called once during Hass Blocks initialisation

Signature
    load(args: IPluginArgs): Promise<void>; 
Parameters
Name Type Description
args IPluginArgs hass blocks internals passed in by the framework
Return Value
Promise<void>