Text helper limit to 255 characters ? I was able to bug it

Instead of suing the up and down arrows in the window defining the text helper (the upper arrow only allows you to go up to 255), I just entered “2555” and saved it … as simple as that

No, I am asking about how you set a long state.

1 Like

With this code :

 - action: google_generative_ai_conversation.generate_content
            metadata: {}
            data:
              prompt: >-
                Sans formule de politesse, décris ce qui se trouve sur les 3
                images en les combinant, en disant si quelque chose a bougé. Si
                c'est une personne décris la. Si il y a un logo visible, décris
                le, sinon ne mentionne rien à propos des logos. Décris les
                voitures et les numéros de plaques si elles sont visibles. Ne
                mentionne pas qu'il y a 3 images. Ne décris pas les bâtiments.
                Limite ta réponse à 220 lettres.
              image_filename:
                - /config/www/Camera-snapshots/doorbel-snapshot1.jpg
                - /config/www/Camera-snapshots/doorbel-snapshot2.jpg
                - /config/www/Camera-snapshots/doorbel-snapshot3.jpg
            response_variable: Réponse
          - action: input_text.set_value
            metadata: {}
            data:
              value: |
                {{ now().strftime('%d/%m/%Y %H:%M:%S') }} : {{ Réponse.text }}
            target:
              entity_id: input_text.generative_ai_doorbel
1 Like

Strange, because my attempt

action: input_text.set_value
target:
  entity_id: input_text.xxxxxx
data:
  value: >-
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
    tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
    quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
    consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
    cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
    non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

failed as I already said.

In your core issue you specified “2025.2.5” version.
I tested with 2025.3.0.

Also, in your example you used a template to set a value.
Here is another example with an automation which using a template with same result - a state is not set:

triggers: []
actions:
  - variables:
      var_1: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"
      var_2: "quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse"
      var_3: "cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
  - action: input_text.set_value
    target:
      entity_id: input_text.xxxxxx
    data:
      value: >-
        {{ var_1 + var_2 + var_3 }}
1 Like

But your text helper max attribute is still set to 255 characters ?
Your text seems to be 447 characters long. In my case trying to put more than 255 characters was just NOT updating the text helper. Text helper was only updating if the AI answer was LESS than 255 characters.

Only from the moment I was able to increase the text helper max attribute to 2555, then it was updated with long text.

And my version was 2025.2.x … I just updated to 2025.3 and haven’t tested with that version yet, but I assume this doesn’t change anything

it is set to 1000.

Where are you guys seeing the length setting. I see nothing…

Check your Home Assistant user account and ensure Advanced Mode is enabled. It controls the display of various options throughout the UI.

1 Like

I thought I had Advanced Mode enabled previously. But is was off. Thank you! With that said, I do wish the text was longer than 255. Especially when trying to craft something for a markdown card.

1 Like

For some reason I THINK since the Upgrade to Core 2025.3.1, my text helper which I manually bugged from 255 characters to 2555 characters is not working anymore … I see this in the UI :

… even if I set it bac to 255 characters, It remains “unconfigurable” :

???