esphome minor additions and HA pool controls
This commit is contained in:
@@ -5,4 +5,5 @@
|
||||
api:
|
||||
encryption:
|
||||
key: ${local_api_key}
|
||||
reboot_timeout: 0s # disables watchdog reboot on API failure
|
||||
|
||||
|
@@ -20,3 +20,4 @@ mqtt:
|
||||
discovery: False # enable entity discovery (true is default)
|
||||
discover_ip: False # enable device discovery (true is default)
|
||||
id: mqtt_client
|
||||
reboot_timeout: 0s # same for MQTT
|
||||
|
@@ -497,8 +497,18 @@ binary_sensor:
|
||||
# https://esphome.io/components/text_sensor/index.html
|
||||
##########################################################################################
|
||||
sensor:
|
||||
- platform: template
|
||||
name: "Boost Duration"
|
||||
id: boost_duration_time
|
||||
unit_of_measurement: "mins"
|
||||
accuracy_decimals: "0"
|
||||
update_interval: "${update_interval}"
|
||||
lambda: |-
|
||||
return id(boost_duration);
|
||||
|
||||
- platform: template
|
||||
name: "Mins from Midnight"
|
||||
id: mins_from_midnight
|
||||
unit_of_measurement: "mins"
|
||||
accuracy_decimals: "0"
|
||||
update_interval: "${update_interval}"
|
||||
|
@@ -506,11 +506,21 @@ binary_sensor:
|
||||
##########################################################################################
|
||||
sensor:
|
||||
- platform: template
|
||||
name: "Mins from Midnight"
|
||||
name: "Boost Duration"
|
||||
id: boost_duration_time
|
||||
unit_of_measurement: "mins"
|
||||
accuracy_decimals: 0
|
||||
accuracy_decimals: "0"
|
||||
update_interval: "${update_interval}"
|
||||
internal: True # No need to show this in Home Assistanti
|
||||
lambda: |-
|
||||
return id(boost_duration);
|
||||
|
||||
- platform: template
|
||||
name: "Mins from Midnight"
|
||||
id: mins_from_midnight
|
||||
unit_of_measurement: "mins"
|
||||
accuracy_decimals: "0"
|
||||
update_interval: "${update_interval}"
|
||||
internal: True # No need to show this in Home Assistant
|
||||
lambda: |-
|
||||
return id(current_mins);
|
||||
|
||||
|
Reference in New Issue
Block a user