diff --git a/example_yaml/vue-utility-solar.yaml b/example_yaml/vue-utility-solar.yaml index b0160de..62a13fa 100644 --- a/example_yaml/vue-utility-solar.yaml +++ b/example_yaml/vue-utility-solar.yaml @@ -43,6 +43,13 @@ uart: tx_pin: GPIO22 baud_rate: 115200 +# Global value for the fast reporting button +globals: + - id: fast_reporting + type: bool + restore_value: no + initial_value: "false" + sensor: - platform: emporia_vue_utility uart_id: emporia_uart @@ -134,13 +141,6 @@ button: - delay: 5min - lambda: id(fast_reporting) = false; -# Global value for above button -globals: - - id: fast_reporting - type: bool - restore_value: no - initial_value: "false" - # This LED is marked D3 on the pcb and is the power led on the case status_led: pin: diff --git a/example_yaml/vue-utility.yaml b/example_yaml/vue-utility.yaml index 9811824..851bd13 100644 --- a/example_yaml/vue-utility.yaml +++ b/example_yaml/vue-utility.yaml @@ -43,6 +43,13 @@ uart: tx_pin: GPIO22 baud_rate: 115200 +# Global value for the fast reporting button +globals: + - id: fast_reporting + type: bool + restore_value: no + initial_value: "false" + sensor: - platform: emporia_vue_utility uart_id: emporia_uart @@ -84,13 +91,6 @@ button: - delay: 5min - lambda: id(fast_reporting) = false; -# Global value for above button -globals: - - id: fast_reporting - type: bool - restore_value: no - initial_value: "false" - # This LED is marked D3 on the pcb and is the power led on the case status_led: pin: