i-plugin-args

This object will be passed into the load method once during Hass Blocks initialisation, plugins can use it to interact with home assistant and listen to hass blocks event

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

Properties

Name Type Description
client IFullBlocksClient An initialised Hass Blocks clients which includes methods that can be used by plugins to make calls to Home Assistant
config HassConfig The configuration that was used to connect to Home assistant
events IEventBus The internal Hass Blocks event bus