Input Text Support for Home Assistant
-
Hey Patrick, now that I know I cannot use expressions in the data section of service calls I have plans to use a
input_text
helper in HA where I can fill in theexpression
result and then use the text in there to invoke certain actions. Currently MSR doesn't support aninput_text
entity, would be great if this could be added!An example of this use case would be as follows:
I have a bunch of expressions to identify which one of my z wave nodes is dead (a bug in 700 series sticks) and then ping its associated button in HA.
Using the result of the
remove_sensor
expression, I would fill ainput_text
entity then using a service call that looks something like this YAML trigger a button press of the associated ping sensor.service: button.press data: {} target: entity_id: "{{ states('input_text.ping_boolean') }}"
-
Hey Patrick, now that I know I cannot use expressions in the data section of service calls I have plans to use a
input_text
helper in HA where I can fill in theexpression
result and then use the text in there to invoke certain actions. Currently MSR doesn't support aninput_text
entity, would be great if this could be added!An example of this use case would be as follows:
I have a bunch of expressions to identify which one of my z wave nodes is dead (a bug in 700 series sticks) and then ping its associated button in HA.
Using the result of the
remove_sensor
expression, I would fill ainput_text
entity then using a service call that looks something like this YAML trigger a button press of the associated ping sensor.service: button.press data: {} target: entity_id: "{{ states('input_text.ping_boolean') }}"
@pabla said in Input Text Support for Home Assistant:
Currently MSR doesn't support an input_text entity, would be great if this could be added!
It doesn't? That's news to me...
...and it has its own
set_value
action, so no need for the genericcall_service
... -
Hey Patrick, now that I know I cannot use expressions in the data section of service calls I have plans to use a
input_text
helper in HA where I can fill in theexpression
result and then use the text in there to invoke certain actions. Currently MSR doesn't support aninput_text
entity, would be great if this could be added!An example of this use case would be as follows:
I have a bunch of expressions to identify which one of my z wave nodes is dead (a bug in 700 series sticks) and then ping its associated button in HA.
Using the result of the
remove_sensor
expression, I would fill ainput_text
entity then using a service call that looks something like this YAML trigger a button press of the associated ping sensor.service: button.press data: {} target: entity_id: "{{ states('input_text.ping_boolean') }}"
@pabla said in Input Text Support for Home Assistant:
Hey Patrick, now that I know I cannot use expressions in the data section of service calls
This restriction has been lifted in build 22251.