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

Handle text_set where text are only wrapped in '' #356

Closed
exetico opened this issue Aug 15, 2023 · 0 comments
Closed

Handle text_set where text are only wrapped in '' #356

exetico opened this issue Aug 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@exetico
Copy link
Member

exetico commented Aug 15, 2023

See more here:

#355 (comment)

As a end-user, I expect this to work:

        - service: floorplan.text_set
          service_data: 'Multiline\nTSPAN-Print2'

With new the end-user needs to do this:

        - service: floorplan.text_set
          service_data: '${"Multiline\nTSPAN-Print2"}'

I'm unsure if it's related to how YAML handles the \n if ' ... ' are used. So its unsure if it's possible to fix, without a ugly work-around. I'd need to check that, before concluding anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant