gickowtf / pixoo-homeassistant

Home Assistant Integration for Divoom Pixoo 64
MIT License
112 stars 12 forks source link

[Bugfix] Fix an error then putting anything other than a string the text's content #41

Closed Mrredstone5230 closed 5 months ago

Mrredstone5230 commented 5 months ago

As I realized before, the service's templates are rendered by HA even before it gets sent to the integration. Therefore, if the template rendered an integer or anything that's not a string, it would try to render something that's not a string, and throw an error. This fixes that. (It was already fixed with other uses of the Template rendering, but I guess this one was the only one left out.)

gickowtf commented 5 months ago

in Germany we would say the needle in the haystack

Mrredstone5230 commented 5 months ago

in Germany we would say the needle in the haystack

In french too!