-
Notifications
You must be signed in to change notification settings - Fork 0
Provider ESPHome
github-actions[bot] edited this page Mar 31, 2026
·
1 revision
This provider allows you to control ESPHome devices via their integrated REST API.
The web_server component must be enabled in your ESPHome configuration (.yaml) to allow HTTP access:
web_server:
port: 80- Host: The IP address or hostname of the ESPHome device.
-
Entity ID: The name of the switch object defined in ESPHome (e.g.,
switch-stall-outdoor-lighting).
The provider communicates with the REST API of the ESPHome web server. It sends POST requests to /switch/<id>/turn_on or turn_off and queries the state via /switch/<id>.