The problem that I had was that I already had the code, but it was giving me an error message, and I wanted to correct it.
Nobody would even touch it, they just told me to “read the manual” and kept making these vague suggestions that ended up leading me in completely the wrong direction.
Eventually, maybe after a couple of weeks, someone turned up who actually understood what the error message meant and that the fix was very simple (I was trying to call what I thought was function using arguments from an automation, but it turned out to be a command that cannot be called using arguments).
If you post a general question on “how do I…” and no other context you are more likely to get a link to the documentation.
Yeah, please don’t do that.
One of the reasons why the open source community is seen as being so closed and elitist by non-coders is when people come to a forum like this they’ve usually already read the manual and not been able to solve their problem, and they ask generic questions because they’re not familiar enough with the system to ask a detailed technical question. So linking to the documentation is the equivalent of someone asking their couch how to become a better runner and being told “run faster”.
in effect we are all “armchair experts”
Sorry, I wasn’t clear, this is an idiom in my language. It means someone who talks about something as if they were an expert, but in truth they never get out of their chair to actually do it.
Like, someone posting a hundred comments telling people to “read the manual”, because they don’t have the knowledge to solve the problem themselves.
Anyway, 'I’m getting off topic.
The answer to my question seems to be that there is no day\night cycle in HA, but there are several ways to write your own.