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

Write text file in python script

$
0
0

@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 96123

Trending Articles



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