Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Home assistant uses some weird “code in YAML” syntax. Chances are, the author could have written a virtual binary sensor by making one that turns on off according to the meter. I found that chatGPT makes writing these yaml files significantly better and faster.



No need for YAML, you can add binary sensors from the “Helper” tab of any device’s entities list.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: