ioBroker.node-red icon indicating copy to clipboard operation
ioBroker.node-red copied to clipboard

add option to ioBroker out node to send custom settings to state

Open thost96 opened this issue 4 years ago • 0 comments

Hi,

it would be nice to add an option like the msg.stateType or msg.stateUnit property just for the custom field (seen in raw mode in the admin ui) of the state. I want to use this to set custom settings e.g. for Lovelace for some states I create on node-red scrips which would make my life easier.

"custom": {
      "lovelace.0": {
        "enabled": true,
        "entity": "sensor",
        "name": "sonne_azimuth"
      }
    }

So an option would be like msg.stateCustom = object like above. This would really help since manually create around 250 settings just for Lovelace is a pain.

thost96 avatar Mar 04 '21 16:03 thost96