Edit esp-3dprinterpow.yaml
This commit is contained in:
@@ -244,7 +244,7 @@ globals:
|
||||
- id: max_power_7d
|
||||
type: float
|
||||
restore_value: true
|
||||
initial_value: '0.0'
|
||||
initial_value: "0.0"
|
||||
update_interval: 5min
|
||||
|
||||
# Powered hours elapsed during the current seven-day period.
|
||||
@@ -252,7 +252,7 @@ globals:
|
||||
- id: max_power_hours_elapsed
|
||||
type: uint16_t
|
||||
restore_value: true
|
||||
initial_value: '0'
|
||||
initial_value: "0"
|
||||
update_interval: 6h
|
||||
|
||||
#:########################################################################################:#
|
||||
@@ -411,7 +411,7 @@ switch:
|
||||
id: relay
|
||||
pin: GPIO12
|
||||
|
||||
restore_mode: RESTORE_DEFAULT_ON
|
||||
restore_mode: RESTORE_DEFAULT_OFF
|
||||
|
||||
on_turn_on:
|
||||
then:
|
||||
@@ -473,4 +473,4 @@ script:
|
||||
retain: false
|
||||
qos: 1
|
||||
|
||||
- delay: 5s
|
||||
- delay: 5s
|
||||
|
||||
Reference in New Issue
Block a user