From 2eb7d19de08da05721b42f9c7a9d28d63d520c8a Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 23 Jul 2026 11:28:00 +0000 Subject: [PATCH 1/2] Extend RF433 slots from 10 to 16 Adds Signal 10-15 to the RF Signal Slot dropdown and the matching NVS index mapping (20-25), continuing the existing 10-19 offset scheme so RF slots stay disjoint from IR slots (0-9). IR slot count is unchanged. --- athom-rf-ir-remote.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/athom-rf-ir-remote.yaml b/athom-rf-ir-remote.yaml index 782924a..f574a42 100644 --- a/athom-rf-ir-remote.yaml +++ b/athom-rf-ir-remote.yaml @@ -89,7 +89,7 @@ globals: type: bool restore_value: no initial_value: 'false' - # RF433 slot index, offset to 10-19 so it never collides with IR slots 0-9 + # RF433 slot index, offset to 10-25 so it never collides with IR slots 0-9 - id: rf_signal_select_index type: int restore_value: yes @@ -488,6 +488,12 @@ select: - "Signal 7" - "Signal 8" - "Signal 9" + - "Signal 10" + - "Signal 11" + - "Signal 12" + - "Signal 13" + - "Signal 14" + - "Signal 15" initial_option: "Signal 0" on_value: - lambda: |- @@ -501,6 +507,12 @@ select: else if (x == "Signal 7") id(rf_signal_select_index) = 17; else if (x == "Signal 8") id(rf_signal_select_index) = 18; else if (x == "Signal 9") id(rf_signal_select_index) = 19; + else if (x == "Signal 10") id(rf_signal_select_index) = 20; + else if (x == "Signal 11") id(rf_signal_select_index) = 21; + else if (x == "Signal 12") id(rf_signal_select_index) = 22; + else if (x == "Signal 13") id(rf_signal_select_index) = 23; + else if (x == "Signal 14") id(rf_signal_select_index) = 24; + else if (x == "Signal 15") id(rf_signal_select_index) = 25; ESP_LOGI("RF_LEARNING", "Selected slot: %d", id(rf_signal_select_index)); # Script for sending raw IR signals From e163861e5841df8a232e60d4462247be31d2fc04 Mon Sep 17 00:00:00 2001 From: Aiden <37043404+tarontop@users.noreply.github.com> Date: Thu, 23 Jul 2026 21:21:23 +0800 Subject: [PATCH 2/2] Update project version to v3.0.6 --- athom-rf-ir-remote.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/athom-rf-ir-remote.yaml b/athom-rf-ir-remote.yaml index f574a42..2b3aaa3 100644 --- a/athom-rf-ir-remote.yaml +++ b/athom-rf-ir-remote.yaml @@ -10,7 +10,7 @@ substitutions: # Project Name project_name: "China Athom Technology.Athom RF IR Remote" # Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version - project_version: "v3.0.5" + project_version: "v3.0.6" # Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs) dns_domain: ".local" # Set timezone of the smart plug. Useful if the plug is in a location different to the HA server. Can be entered in unix Country/Area format (i.e. "Australia/Sydney")