Hello, I am sharing simple and not perfect custom_component. Good, if you are lazy as me.
Nothing is perfect including my project, it is my hobby only. No calling outside, no port forwarding,
https://github.com/JiriKursky/Custom_components/blob/master/httas/README.md
In new updates from 23.6.2019 there is calling http according HA standards and improved async behavior.
configuration.yaml:
switches: - platform: httas switches: filtration: ip_address: xxx.xxx.x.xx # ip address sonnoff controlling filtration friendly_name: Filtration subwoofer: friendly_name: Subwoofer ip_address: xxx.xxx.x.xx # ip address sonnoff controlling subwoofer
My house is my castle.