Replies: 1 comment 5 replies
-
Valid inputs are listed https://zachowj.github.io/node-red-contrib-home-assistant-websocket/node/entity.html#sensors-inputs. Not being able to set HA options of the entity dynamic is a limitation of the node. It needs those values to be able to register itself with HA at the time of deployment. You can create entities dynamically using the API node and WebSocket endpoints the entity nodes uses. You can follow a past conversation on the topic here. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a JSON object like this:
I want to create a
binary_sensor
for each name. They all have the same characteristics, only the name and the state changes (state is handles outside of JSON object).The
entity
node has an option for "input override". I tried messing with this, but the documentation tells me nothing about what kind of input this node can handle / expects. Is it possible to set the Home Assitant Config section (not the Attribute section) through input data?I know I could use a
split
andswitch
node to send each name to its respectiveentity
node, but that sucks for reusability, since I'd have to add aentity
node and change theswitch
node each time a new name is added to my JSON object.Beta Was this translation helpful? Give feedback.
All reactions