diff --git a/src/docs/devices/Athom-E27-7W-Bulb/config.yaml b/src/docs/devices/Athom-E27-7W-Bulb/config.yaml new file mode 100644 index 000000000..1c8906656 --- /dev/null +++ b/src/docs/devices/Athom-E27-7W-Bulb/config.yaml @@ -0,0 +1,40 @@ +substitutions: + device_name: "athom-rgbww-light" + friendly_name: "Athom RGBWW Light" + +esphome: + name: "${device_name}" + +esp8266: + board: esp8285 + +logger: + +output: + - platform: esp8266_pwm + id: red_output + pin: GPIO4 + - platform: esp8266_pwm + id: green_output + pin: GPIO12 + - platform: esp8266_pwm + id: blue_output + pin: GPIO14 + - platform: esp8266_pwm + id: warm_white_output + pin: GPIO13 + - platform: esp8266_pwm + id: white_output + pin: GPIO5 + +light: + - platform: rgbww + name: "${friendly_name}" + red: red_output + green: green_output + blue: blue_output + warm_white: warm_white_output + cold_white: white_output + cold_white_color_temperature: 6000 K + warm_white_color_temperature: 3000 K + color_interlock: true diff --git a/src/docs/devices/Athom-E27-7W-Bulb/index.md b/src/docs/devices/Athom-E27-7W-Bulb/index.md index 3a9a09834..a2038aaf3 100644 --- a/src/docs/devices/Athom-E27-7W-Bulb/index.md +++ b/src/docs/devices/Athom-E27-7W-Bulb/index.md @@ -2,18 +2,18 @@ title: Athom E27 7W Bulb date-published: 2021-10-05 type: light -standard: us +standard: global board: esp8266 --- -Manufacturer: [Athom.tech](https://www.athom.tech/blank-1/7w-2-pack) - ## Flashing Procedure Natively runs Tasmota, upload ESPHome binary to flash wirelessly. ## Bulb Specifications +Manufacturer: [Athom.tech](https://www.athom.tech/) + Color: RGB+Warm+Cold White Color Temperature: 3000-6000K Brightness: 600 lumens @@ -37,84 +37,5 @@ Base: E27 ## Basic Configuration -```yaml -substitutions: - device_name: "athom-rgbww-light" - friendly_name: "Athom RGBWW Light" - project_name: "athom.rgbww-light" - project_version: "1.0" - -esphome: - name: "${device_name}" - name_add_mac_suffix: true - project: - name: "${project_name}" - version: "${project_version}" - -esp8266: - board: esp8285 - -api: - -ota: - -logger: - -web_server: - port: 80 - -wifi: - ssid: !secret wifi_ssid - password: !secret wifi_password - ap: - -captive_portal: - -binary_sensor: - - platform: status - name: "${friendly_name} Status" - -sensor: - - platform: uptime - name: "${friendly_name} Uptime Sensor" - -switch: - - platform: restart - id: restart_switch - name: "${friendly_name} Restart" - -output: - - platform: esp8266_pwm - id: red_output - pin: GPIO4 - - platform: esp8266_pwm - id: green_output - pin: GPIO12 - - platform: esp8266_pwm - id: blue_output - pin: GPIO14 - - platform: esp8266_pwm - id: warm_white_output - pin: GPIO13 - - platform: esp8266_pwm - id: white_output - pin: GPIO5 - -light: - - platform: rgbww - name: "${friendly_name}" - red: red_output - green: green_output - blue: blue_output - warm_white: warm_white_output - cold_white: white_output - cold_white_color_temperature: 6000 K - warm_white_color_temperature: 3000 K - color_interlock: true - -text_sensor: - - platform: wifi_info - ip_address: - name: "${friendly_name} IP Address" - disabled_by_default: true +```yaml file=config.yaml ```