Skip to content

Commit

Permalink
customui for next_appointment_travel_mode_standard
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Jul 21, 2018
1 parent 1efab8e commit a0625d7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions customize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,20 @@ binary_sensor.workday_tomorrow:
} else if ( state === 'off' ) {
return "Nein";
}
input_select.next_appointment_travel_mode_standard:
custom_ui_state_card: state-card-custom-ui
show_last_changed: true
templates:
icon: >
if ( state === 'Auto' ) {
return "mdi:car";
} else if ( state === 'Fahrrad' ) {
return "mdi:bike"
} else if ( state === 'Öffis' ) {
return "mdi:bus"
} else if ( state === 'Laufen' ) {
return "mdi:walk"
}
#################################################################
## Android IP Webcam
#################################################################
Expand Down

0 comments on commit a0625d7

Please sign in to comment.