#Hi
1 messages · Page 1 of 1 (latest)
I am trying to get to integrate this: https://community.home-assistant.io/t/diy-zigbee-rain-gauge/255379
if I paste this piece of code:
sensor:
- platform: history_stats
name: Rainsensor flips
entity_id: binary_sensor.rainsensor_on_off #The aqara sensor
state: 'off'
type: count
start: '{{ now().replace(hour=0, minute=0, second=0) }}'
end: '{{ now() }}'
I get: "end of the stream or a document separator is expected " (there are other sensors in the sensors.yaml
If you pasted that directly into sensors.yaml you introduced an error
sensor: shouldn't be included in that file
(and likely neither should the first two spaces on each line)
thx, i'll try that - here is a screenshot, i cant post pictures in here
https://imgur.com/a/qrketHO
Image posting is blocked to discourage people from posting images of text
Images of text are a horrible thing
That's why code share sites exist
i cant copypaste the error messages of "studio code server" - it is not inclded in the stuff that i select.
thx
Then if there's issues use a code share site to share sensors.yaml
i understand
is there a good article for YAML-beginners, that could be helpful?
i really want to understand this better, but this page: https://www.home-assistant.io/docs/configuration/yaml/
does not have enough detail for me
also assumes a lot of knowledge about hassio
Yes, see the message the bot just tagged you in in #general-archived
There's also no "hassio"
That name died years ago