Quantcast
Viewing all articles
Browse latest Browse all 104758

Write text file in python script

@Vinz87 wrote:

I tried to write a state of an entity into a text file from a python script that I call from an automation, but I get an error regarding the open function, it says that it doesn’t recognize it, like if it was needed to load an additional module.

Someone knows how can I do that? Or someone knows an alternative method to write a text file from within Home Assistant?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 104758

Trending Articles