From b0d3023aabb6e73f28c14c13d5545afc33cd90c1 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Fri, 7 Jun 2019 22:26:44 +0200 Subject: [PATCH] Fixed speech engine after mercedes me upgrade --- script/speech_engine.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/script/speech_engine.yaml b/script/speech_engine.yaml index 6b1328aa..2ba10afd 100644 --- a/script/speech_engine.yaml +++ b/script/speech_engine.yaml @@ -79,25 +79,25 @@ speech_engine: {% else %} {% set car_position = "fuori" %} {% endif %} - {% if is_state('binary_sensor.car_doors_lock', 'off') %} + {% if is_state('binary_sensor.ff590mr_locked', 'off') %} {% set car_lock = "chiusa" %} {% else %} {% set car_lock = "aperta" %} {% endif %} - {% if is_state('binary_sensor.car_windows_lock', 'off') %} + {% if is_state('binary_sensor.ff590mr_windows_closed_2', 'off') %} {% set car_windows = "chiusi" %} {% else %} {% set car_windows = "aperti" %} {% endif %} - {% if is_state('binary_sensor.ff590mr_parkbreak_status', 'on') %} + {% if is_state('binary_sensor.ff590mr_park_brake_status', 'on') %} {% set car_parkbreak = "inserito" %} {% else %} {% set car_parkbreak = "non inserito" %} {% endif %} La Mercedes si trova {{ car_position }}. è {{ car_lock }}, con i finestrini {{ car_windows }} e il freno a mano {{ car_parkbreak }}. - Il livello del carburante è {{ states('sensor.ff590mr_tank_level') }} percento. - {% if is_state('binary_sensor.ff590mr_warning_breakfluid', 'on') or - is_state('binary_sensor.ff590mr_warning_engine_light', 'on') or + Il livello del carburante è {{ states('sensor.sensor.ff590mr_fuel_level') }} percento. + {% if is_state('binary_sensor.ff590mr_warning_brakefluid', 'on') or + is_state('binary_sensor.ff590mr_warning_coolantlevellow', 'on') or is_state('binary_sensor.ff590mr_warning_washwater', 'on') %} Sono inoltre presenti allarmi. {% endif %} -- 2.47.3