diff --git a/Integrations/ESPHome/Core.yaml b/Integrations/ESPHome/Core.yaml index 4179718..1786f04 100644 --- a/Integrations/ESPHome/Core.yaml +++ b/Integrations/ESPHome/Core.yaml @@ -1,6 +1,6 @@ substitutions: name: apollo-msr-2 - version: "24.7.15.1" + version: "24.9.12.1" device_description: ${name} made by Apollo Automation - version ${version}. esp32: diff --git a/Integrations/ESPHome/MSR-2.yaml b/Integrations/ESPHome/MSR-2.yaml index 5930841..1b73f2a 100644 --- a/Integrations/ESPHome/MSR-2.yaml +++ b/Integrations/ESPHome/MSR-2.yaml @@ -1,7 +1,7 @@ #Define Project substitutions: name: apollo-msr-2 - version: "24.7.15.1" + version: "24.9.12.1" device_description: ${name} made by Apollo Automation - version ${version}. esphome: @@ -344,15 +344,14 @@ binary_sensor: on_release: then: - lambda: |- - if (millis() - id(button_press_timestamp) >= 1000) { + if (millis() - id(button_press_timestamp) >= 10000) { + id(factory_reset_switch).turn_on(); + } + else if (millis() - id(button_press_timestamp) >= 1000) { id(testCycleCount) = 0; id(runTest) = true; id(testScript).execute(); } - else if (millis() - id(button_press_timestamp) >= 8000) { - id(factory_reset_switch).turn_on(); - - } ld2410: id: ld2410_radar diff --git a/Integrations/ESPHome/MSR-2_Factory.yaml b/Integrations/ESPHome/MSR-2_Factory.yaml index 1e24b47..84a4570 100644 --- a/Integrations/ESPHome/MSR-2_Factory.yaml +++ b/Integrations/ESPHome/MSR-2_Factory.yaml @@ -26,7 +26,7 @@ esphome: dashboard_import: - package_import_url: github://ApolloAutomation/MSR-2/Integrations/ESPHome/MSR-2.yaml + package_import_url: github://ApolloAutomation/MSR-2/Integrations/ESPHome/MSR-2_Factory.yaml import_full_config: false