@klogg wrote:
One of the first things I did nearly two years ago in HA was my garden irrigation. We have plenty of rain here at the moment so I am not currently using it but other people it seems, are.
Yesterday I saw someone posted that it had broken in a small easily fixed way after upgrading to v0.103.
I’m just wondering if this is a (un)known breaking change because I didn’t see anything about it and in any case I thought everything passed between scripts were strings.
I call a script like this:
- service: script.update_next_runtime data_template: cycle: 1
the called script might use the cycle number like this:
- service: input_text.set_value data_template: entity_id: 'input_text.cycle{{ cycle }}_current_zone'
Which I am told is causing a type error:
TypeError: can only concatenate str (not "int") to str
And that changing it to
cycle: '1'
fixes the problem.
Maybe you’ll say it is just something that has been rectified and that I shouldn’t have been doing that way in the first place (which I suppose could be a fair comment). But I’m interested if something changed?
Anyway as I said I haven’t checked this directly but the original post is here: My Garden Irrigation
Posts: 13
Participants: 3