diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cf5629..b550e72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,22 +11,27 @@ jobs: fail-fast: false matrix: device: - - cb02 + - rgb-light + - rgbww-light + - rgbct-light - garage-door + - ws2812b - mini-switch - relay-board-x1 - relay-board-x2 - relay-board-x4 - relay-board-x8 - - rgb-light - - rgbct-light - - rgbww-light - smart-plug + - smart-plug-v2 - sw01 + - sw01-v2 - sw02 + - sw02-v2 - sw03 - sw04 - - ws2812b + - cb02 + - ls-4p-3wire + - ls-4p-4wire steps: - name: Checkout source uses: actions/checkout@v2 diff --git a/README.md b/README.md index 13c0dff..d9444d3 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,4 @@ If you are prompted that there is not enough space, you should upgrade `ESP8266_ - First execute `SetOption78 1` in the console of Tasmota - Select firmware upgrade, upload `tasmota-minimal.bin` and click start upgrade - Select the firmware upgrade again, upload the firmware of ESPHome and click to start upgrade -- Download ESPHome firmware here https://github.com/tarontop/athom-configs/actions +- Download ESPHome firmware here https://github.com/athom-tech/athom-configs/actions diff --git a/athom-smart-plug-v2.yaml b/athom-smart-plug-v2.yaml index 0e3eb8b..1c5a23d 100644 --- a/athom-smart-plug-v2.yaml +++ b/athom-smart-plug-v2.yaml @@ -72,14 +72,15 @@ sensor: current: name: "${friendly_name} Current" filters: - - lambda: if (x < 0.08) return 0; + voltage: name: "${friendly_name} Voltage" power: name: "${friendly_name} Power" id: power_sensor filters: - - lambda: if (x < 6) return 0; + + energy: name: "${friendly_name} Energy" unit_of_measurement: kWh diff --git a/athom-sw02-v2.yaml b/athom-sw02-v2.yaml index be3f326..9aa5237 100644 --- a/athom-sw02-v2.yaml +++ b/athom-sw02-v2.yaml @@ -1,8 +1,4 @@ substitutions: - device_name: "athom-sw02" - friendly_name: "Athom SW02" - project_name: "athom.sw02" - project_version: "1.0" esphome: name: "${device_name}" @@ -105,6 +101,7 @@ light: name: "${friendly_name} Light 1" id: light1 output: relay1 + on_turn_on: - light.turn_on: light3 on_turn_off: @@ -113,6 +110,7 @@ light: name: "${friendly_name} Light 2" id: light2 output: relay2 + on_turn_on: - light.turn_on: light4 on_turn_off: diff --git a/athom-sw02.bin b/athom-sw02.bin deleted file mode 100644 index 3aeb3eb..0000000 Binary files a/athom-sw02.bin and /dev/null differ