Skip to content

Commit

Permalink
chacnge friendly name of sensor.cal_next_appointment_title
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Jul 20, 2018
1 parent 38a3de3 commit 28afe9b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions customize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,15 @@ input_select.next_appointment_travel_mode:
} else if ( state === 'Laufen' ) {
return "mdi:walk"
}
sensor.cal_next_appointment_title:
icon: mdi:calendar
templates:
friendly_name: >
if ( entities['input_select.next_appointment_travel_mode'].state === 'Laufen' ) {
return "Loslaufen";
} else {
return "Losfahren";
}
#################################################################
## Xiaomi Reed Switches
#################################################################
Expand Down Expand Up @@ -383,8 +392,6 @@ sensor.statistics_gas_station_metro_mean:
friendly_name: Statistik (Mean)
sensor.room_s8plus:
icon: mdi:cellphone
sensor.cal_next_appointment_title:
icon: mdi:calendar
sensor.cal_next_appointment_location:
icon: mdi:map-marker
sensor.cal_next_appointment_start_time:
Expand Down

0 comments on commit 28afe9b

Please sign in to comment.