Draft Ha Config
draft_ha_configGenerate production-ready Home Assistant YAML configuration for any MyHOME entity by specifying platform, name, and OpenWebNet address.
Instructions
Generate production-ready Home Assistant YAML configuration for any MyHOME entity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | No | Physical gateway MAC address (mandatory in modern MyHOME integration). | 00:03:50:xx:xx:xx |
| who | No | Subsystem WHO code for binary sensors (default '25' for dry contacts, '1' for motion, '9' for aux) (platform=binary_sensor). | 25 |
| name | Yes | Friendly name for the entity (e.g. 'Living Room Dimmer', 'Garage Door Contact'). | |
| where | Yes | OpenWebNet bus address (e.g. '12', '21#4#1', '31'). | |
| dimmable | No | True if light is dimmable (platform=light). | |
| platform | Yes | Platform type ('light', 'cover', 'climate', 'sensor', 'binary_sensor', 'switch', 'media_player'). | |
| run_time | No | Full travel runtime in seconds (platform=cover). | |
| gateway_id | No | Gateway identifier for /config/myhome.yaml (e.g. 'f454', 'mh202'). | f454 |
| transition | No | Default transition speed 1-10 (platform=light). | |
| sensor_type | No | Type of sensor measurement ('power', 'energy', 'temperature') (platform=sensor). | power |
| cool_support | No | Enable cooling capability (platform=climate). | |
| device_class | No | Binary sensor device class ('opening', 'motion', 'garage_door', 'door', 'window') (platform=binary_sensor). | opening |
| heat_support | No | Enable heating capability (platform=climate). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |