[#398] - Add last_seen sensor to update temperature last datetime (#433)

Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
This commit is contained in:
Jean-Marc Collin
2024-03-31 20:25:34 +02:00
committed by GitHub
parent f4598a407e
commit c49545d9e3
9 changed files with 267 additions and 13 deletions

View File

@@ -6,6 +6,7 @@ logger:
custom_components.versatile_thermostat: info
custom_components.versatile_thermostat.underlyings: info
custom_components.versatile_thermostat.climate: info
custom_components.versatile_thermostat.base_thermostat: debug
# If you need to debug uncommment the line below (doc: https://www.home-assistant.io/integrations/debugpy/)
debugpy:
@@ -166,6 +167,13 @@ climate:
heater: input_boolean.fake_heater_switch3
target_sensor: input_number.fake_temperature_sensor1
input_datetime:
fake_last_seen:
name: Last seen temp sensor
icon: mdi:update
has_date: true
has_time: true
recorder:
commit_interval: 1
include: