UNPKG

node-red-contrib-home-assistant-websocket

Version:
28 lines (27 loc) 647 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = [ { version: 0, up: (schema) => { const newSchema = { ...schema, version: 0, }; return newSchema; }, }, { version: 1, up: (schema) => { const newSchema = { ...schema, version: 1, exposeAsEntityConfig: '', }; newSchema.exposeToHomeAssistant = undefined; newSchema.haConfig = undefined; return newSchema; }, }, ];