Skip to content

Commit

Permalink
SWIPE!
Browse files Browse the repository at this point in the history
  • Loading branch information
aneisch committed Oct 16, 2018
1 parent 189d908 commit 1fd2066
Show file tree
Hide file tree
Showing 4 changed files with 161 additions and 1 deletion.
22 changes: 21 additions & 1 deletion ui-lovelace.yaml
Expand Up @@ -7,6 +7,8 @@ resources:
type: js
- url: /local/js/mini-media-player.js?v=0.8.3
type: module
- url: /local/js/swipe-card.js?v=1.0
type: js

views:

Expand All @@ -26,9 +28,27 @@ views:
- sensor.thermostat_fan_status
- sensor.ac_runtime_today
- sensor.ac_runtime_yesterday
- entity: sensor.thermostat_temperature
type: sensor

- type: custom:swipe-card
parameters:
spaceBetween: 8
scrollbar:
hide: false
draggable: true
snapOnRelease: true
cards:
- type: sensor
entity: sensor.thermostat_temperature
name: Thermostat Temperature
line_width: 8
line_color: '#FF6384'
- type: sensor
entity: sensor.thermostat_setpoint
name: Thermostat Setpoint
line_color: '#36A2EB'
line_width: 8

- type: entities
title: Automation Control
show_header_toggle: false
Expand Down
1 change: 1 addition & 0 deletions www/css/swiper.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1fd2066

Please sign in to comment.