Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107864

What to replace input_text with to save more than 255 characters

$
0
0

What can I replace input_text with to save more than 255 characters.
I read the documentation and all the topics I found on the forum. I understand that input_text cannot contain more than 255 characters.
There are input_texts that write different information depending on the if branching. Branching can sometimes reach 2-3 nestings. Something like this:

if	condition1
then
  if condition2
  then
	  if
		condition3
	then
		input_text_one: value 1	
	else
		input_text_one: value 2	
  else
    if condition4
    then
	  if
		condition5
	  then
		input_text_one: value 4
	  else
		input_text_one: value 5	
else
 etc...

In some cases, errors are written that the server returns. Errors are longer than 255 characters, and unknown is written to input_text.
This information is not used on the frontend, the information is collected in a message and sent. It is also used in other automations.
Something like this:

message: >
  Response to request:
  Error_one: {{ states('input_text.one_message_telegram_system') }}

The question is, what can I replace input_text with so that the information fits more than 255 characters and is available everywhere?
I tried using a variable, it can store more information, but it does not work in more than one block.

Thanks

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 107864


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>