mirror of
https://github.com/nekorevend/esphome-emporia-vue-utility.git
synced 2026-01-09 13:00:38 -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
|
tx_pin: GPIO22
|
||||||
baud_rate: 115200
|
baud_rate: 115200
|
||||||
|
|
||||||
|
# Global value for the fast reporting button
|
||||||
|
globals:
|
||||||
|
- id: fast_reporting
|
||||||
|
type: bool
|
||||||
|
restore_value: no
|
||||||
|
initial_value: "false"
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: emporia_vue_utility
|
- platform: emporia_vue_utility
|
||||||
uart_id: emporia_uart
|
uart_id: emporia_uart
|
||||||
@@ -134,13 +141,6 @@ button:
|
|||||||
- delay: 5min
|
- delay: 5min
|
||||||
- lambda: id(fast_reporting) = false;
|
- 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
|
# This LED is marked D3 on the pcb and is the power led on the case
|
||||||
status_led:
|
status_led:
|
||||||
pin:
|
pin:
|
||||||
|
|||||||
@@ -43,6 +43,13 @@ uart:
|
|||||||
tx_pin: GPIO22
|
tx_pin: GPIO22
|
||||||
baud_rate: 115200
|
baud_rate: 115200
|
||||||
|
|
||||||
|
# Global value for the fast reporting button
|
||||||
|
globals:
|
||||||
|
- id: fast_reporting
|
||||||
|
type: bool
|
||||||
|
restore_value: no
|
||||||
|
initial_value: "false"
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: emporia_vue_utility
|
- platform: emporia_vue_utility
|
||||||
uart_id: emporia_uart
|
uart_id: emporia_uart
|
||||||
@@ -84,13 +91,6 @@ button:
|
|||||||
- delay: 5min
|
- delay: 5min
|
||||||
- lambda: id(fast_reporting) = false;
|
- 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
|
# This LED is marked D3 on the pcb and is the power led on the case
|
||||||
status_led:
|
status_led:
|
||||||
pin:
|
pin:
|
||||||
|
|||||||
Reference in New Issue
Block a user