When using
self.set_value()
I now get the error
Unable to find service input_text/set_value
in the HA log.
I think this started with the upgrade to AD 3.0.1, because I think I would have noticed it before, but I’m not certain.
When using
self.set_value()
I now get the error
Unable to find service input_text/set_value
in the HA log.
I think this started with the upgrade to AD 3.0.1, because I think I would have noticed it before, but I’m not certain.
it is the right service when i look at HA. (but i run an older version from HA)
can it be that HA did change something in the service?
hmm did take a deeper look and it should be an input_number change and not an input_text.
and i found out what happened.
someone has made a PR for a change and andrew has accepted that.
but its an unwanted change.
self.set_value is for changing an input_number and now its changed to changing an input_text.
@aimc you probably overlooked the impact from this change.
i think the change should be undone and when possible then there should be a function added for the input_text
that could be a copy from the existing function with a name like self.set_textvalue()
for the moment set_value as it was is now broken.
the workaround for the moment is to use
self.call_service("input_number/set_value",entity_id="your.entity",value="your_value")
OK, looking at fixing this now.
EDIT: Now fixed in dev branch and will be in 3.0.2