mirror of
https://github.com/nekorevend/esphome-emporia-vue-utility.git
synced 2026-01-08 20:40:39 -07:00
Move globals above sensor according to feedback:
https://community.home-assistant.io/t/emporia-vue-utility-connect/378347/247
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user