Add a new MCP tool setup_esphome_device(device_name: str, wifi_ssid: str, wifi_password: str) to initialize a basic ESPHome YAML configuration file.
Functionality:
- Takes a device name, WiFi SSID, and WiFi password as input.
- Generates a minimal ESPHome YAML file (e.g.,
device_name.yaml) with basic ESP32 setup, WiFi connection, OTA, and API server.
- Returns the path to the generated YAML file or its content.
Add a new MCP tool
setup_esphome_device(device_name: str, wifi_ssid: str, wifi_password: str)to initialize a basic ESPHome YAML configuration file.Functionality:
device_name.yaml) with basic ESP32 setup, WiFi connection, OTA, and API server.