From 848c33d3f7f8a62e8a8b6dec3fecc3c35c5e99db Mon Sep 17 00:00:00 2001 From: Valter Ferreira Date: Mon, 14 Mar 2022 10:20:44 +0000 Subject: [PATCH] updated code clean and automations --- automations.yaml | 9 ++++----- configuration.yaml | 7 +------ sensor.yaml | 1 - 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/automations.yaml b/automations.yaml index dbbaab8..224ac85 100644 --- a/automations.yaml +++ b/automations.yaml @@ -2,13 +2,13 @@ alias: Aquecimento Agua description: '' trigger: - - at: 06:30:00 + - at: 04:00 platform: time - at: 08:00:00 platform: time - at: '18:00:00' platform: time - - at: '19:00:00' + - at: '22:00' platform: time action: - data: {} @@ -400,10 +400,9 @@ alias: Garagem - Turn light on at night description: '' trigger: - - entity_id: cover.portao_garagem - from: 'On' + - entity_id: cover.garage_door + from: closed platform: state - to: 'Off' condition: - condition: or conditions: diff --git a/configuration.yaml b/configuration.yaml index 550388c..a777514 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -66,14 +66,9 @@ light: !include light.yaml switch: !include switch.yaml media_player: !include mediaplayers.yaml -vacuum: - - platform: xiaomi_miio - host: !secret aleixoIP - token: !secret aleixoToken - utility_meter: energy: source: sensor.energy_aqua_hoje cycle: hourly -homekit: \ No newline at end of file +homekit: diff --git a/sensor.yaml b/sensor.yaml index 9f97575..963fc8e 100755 --- a/sensor.yaml +++ b/sensor.yaml @@ -5,7 +5,6 @@ unit_prefix: k round: 2 method: left -- platform: cpuspeed - platform: systemmonitor resources: - type: disk_use_percent