Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement - Overcome 100 chars limit in input_text helpers #333

Closed
1 task done
EPMatt opened this issue May 9, 2022 · 1 comment · Fixed by #378
Closed
1 task done

Enhancement - Overcome 100 chars limit in input_text helpers #333

EPMatt opened this issue May 9, 2022 · 1 comment · Fixed by #378
Assignees
Labels
blueprint An issue related to a blueprint enhancement New feature or request

Comments

@EPMatt
Copy link
Owner

EPMatt commented May 9, 2022

Blueprint name

Controllers - All

Description

The helper_last_controller_event entity is really wasting too many of the default 100 chars available for input_text entities. This is due to over descriptive fields in the JSON object, and an unnecessarily verbose date representation.

E.g. the value currently in a controller text input helper:
{"trigger_action": "off", "last_triggered": "2022-05-05 09:58:25.740583+02:00"}

We should reduce the number of characters used to the bare minimum, to prevent the need to increase the maximum length of the input_text value for controllers firing events with long names.

Automation YAML config

No response

Implementation

The goal is to reduce the number of used characters to the bare minimum, so there's more room for storing the controller event which triggered the automation.

{"a": "off", "t": "<unix time>"}

Additional Details

  • I'd like to help developing this feature/improvement.

Useful resources

No response

Additional context

No response

@EPMatt EPMatt added enhancement New feature or request blueprint An issue related to a blueprint labels May 9, 2022
@EPMatt EPMatt self-assigned this May 10, 2022
@Azrael-Kun Azrael-Kun mentioned this issue Jul 22, 2022
3 tasks
@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2022

Hi there,

🔒 This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new ticket for related bugs.

Thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blueprint An issue related to a blueprint enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant