Enhanced Input Integration

Hey Home Assistant Community!

I’m excited to introduce my new custom integration: Enhanced Input!

This integration is designed to give you a simple and effective way to store and display long text data within Home Assistant. Whether it’s reports, responses from AI LLMs, or any other dynamic text, Enhanced Input makes it easy to keep track of important information.

What does it do?
Extended Text Storage- Create entities similar to input_text but with the ability to store text beyond the 255-character limit.

Why did I make this?
I wanted a reliable way to display generated reports directly in my dashboards and to review AI responses. This integration provides a straightforward solution for managing and displaying long text data.

I’m also planning to enhance this integration with an input select entity in the future. This will give you even more flexibility in how you manage and interact with your data.

GitHub Repository:
https://github.com/yohaybn/HomeAssistant-Enhanced-Input

I’m eager to hear your feedback and suggestions! Please open issues or pull requests on GitHub.

Happy automating!

4 Likes

Hello @yohaybn , is this integration still maintained and working ?
I am asking because I use an Google AI generative text to describe who is ringing the bell at the door, and storing the output as followed :

- 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.
              filenames:
                - /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**

… but although I ask the AI to limit the output to 220 chars, it sometimes outputs more than 250 characters and in such case, doesn’t output anything in input_text.set_value

… reason why I am asking

I found the link to here from Text helper limit to 255 characters ? I was able to bug it - #14 by WallyR

I had no difficulties to install it with HACS and find it easy to use.
Thanks a lot @yohaybn :clap:

Finaly able to pass around the AI response and show it on the dashboard.
Thanks for the integrsation!

I have been looking around for so long for a solution and finally here it is, so grateful! I need to show a log file from a system retrieved with API using appDaemon and couldn’t store the text in a helper or write to a file that’s accessible to HA, this solved my problem so thank you!