Skip to content

Commit

Permalink
nuke valetudo, revert netdata, template select
Browse files Browse the repository at this point in the history
  • Loading branch information
matt8707 committed Oct 1, 2021
1 parent 5f75a35 commit 2484e72
Show file tree
Hide file tree
Showing 16 changed files with 370 additions and 902 deletions.
35 changes: 0 additions & 35 deletions button_card_templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1065,41 +1065,6 @@
- width: 4em
- margin: 4px

#################################################
# #
# VACUUM MAP OVERLAY BUTTONS #
# #
#################################################

vacuum_map:
show_label: false
show_icon: false
name: >
[[[ return variables.area; ]]]
tap_action:
action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.roborock_zone
option: >
[[[ return variables.area; ]]]
styles:
card:
- padding: 3em
- background: none
name:
- font-size: 0.9em
- letter-spacing: 0.003em
- color: '#aeb0b0'
- background: '#191c1d80'
- padding: 0.48em 0.78em 0.48em 0.78em
- border-radius: 0.6em
- overflow: visible
extra_styles: |
#ripple {
display: none;
}
#################################################
# #
# ICONS #
Expand Down
84 changes: 60 additions & 24 deletions configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,27 @@ default_config:
lovelace:
mode: yaml
resources:
[ { url: /hacsfiles/bar-card/bar-card.js, type: module },
{ url: /hacsfiles/button-card/button-card.js, type: module },
{ url: /hacsfiles/kiosk-mode/kiosk-mode.js, type: module },
{ url: /hacsfiles/light-entity-card/light-entity-card.js, type: module },
{ url: /hacsfiles/light-popup-card/light-popup-card.js, type: module },
{ url: /hacsfiles/lovelace-card-mod/card-mod.js, type: module },
{ url: /hacsfiles/lovelace-layout-card/layout-card.js, type: module },
{ url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js, type: module },
{ url: /hacsfiles/lovelace-valetudo-map-card/valetudo-map-card.js, type: module },
{ url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js, type: module },
{ url: /hacsfiles/swipe-card/swipe-card.js, type: module },

{ url: '/local/calendar-card.js?v=3.109.1', type: module },
{ url: '/local/custom_icons.js?v=28082021', type: module },
{ url: /local/font.css, type: css } ]
[ { url: /hacsfiles/bar-card/bar-card.js, type: module },
{ url: /hacsfiles/button-card/button-card.js, type: module },
{ url: /hacsfiles/kiosk-mode/kiosk-mode.js, type: module },
{ url: /hacsfiles/light-entity-card/light-entity-card.js, type: module },
{ url: /hacsfiles/light-popup-card/light-popup-card.js, type: module },
{ url: /hacsfiles/lovelace-card-mod/card-mod.js, type: module },
{ url: /hacsfiles/lovelace-layout-card/layout-card.js, type: module },
{ url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js, type: module },
{ url: /hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js, type: module },
{ url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js, type: module },
{ url: /hacsfiles/swipe-card/swipe-card.js, type: module },

{ url: '/local/calendar-card.js?v=3.109.1', type: module },
{ url: '/local/custom_icons.js?v=28082021', type: module },
{ url: /local/font.css, type: css } ]

logger:
default: warning
logs:
homeassistant.components.websocket_api: fatal
homeassistant.components.bluetooth_tracker.device_tracker: fatal
homeassistant.components.camera: fatal

recorder:
db_url: !secret recorder_db_url
Expand All @@ -49,14 +49,12 @@ person:
- device_tracker.mattias_iphone_ios
- device_tracker.mattias_iphonedetect
- device_tracker.mattias_iphone_unifi
- device_tracker.mattias_bluetooth

- name: Sanja
id: sanja
device_trackers:
- device_tracker.sanja_iphonedetect
- device_tracker.sanjas_iphone_unifi
- device_tracker.sanja_bluetooth

device_tracker:
- platform: iphonedetect
Expand Down Expand Up @@ -130,12 +128,6 @@ ios:
- identifier: start_watchtower
title: Uppdatera

notify:
- platform: file
name: vacuum_last_cleaned
filename: vacuum_last_cleaned.txt
timestamp: true

lock:
- platform: template
name: Dator
Expand All @@ -147,3 +139,47 @@ lock:
unlock:
service: input_boolean.turn_off
entity_id: input_boolean.computer_lock

camera:
- platform: xiaomi_cloud_map_extractor
host: !secret xiaomi_vacuum_host
token: !secret xiaomi_vacuum_token
username: !secret xiaomi_cloud_username
password: !secret xiaomi_cloud_password
name: vacuum_map
country: de
colors:
color_robo: [224,224,224]
color_charger: [27,117,27]
color_path: [30,80,113]
color_goto_path: [30,80,113]
color_map_wall_v2: [30,30,30]
color_obstacle: [30,30,30]
color_virtual_walls: [255,0,0,60]
color_no_go_zones_outline: [255,0,0,60]
color_no_go_zones: [255,0,0,28]
color_scan: [0,0,0,0]
color_map_inside: [0,0,0,0]
color_map_outside: [0,0,0,0]
color_grey_wall: [0,0,0,0]
color_map_wall: [0,0,0,0]
room_colors:
1: [42,46,48]
2: [42,46,48]
16: [42,46,48]
17: [42,46,48]
18: [42,46,48]
draw:
- all
map_transformation:
scale: 2
trim:
top: 16
right: 22
bottom: 25
left: 21
sizes:
charger_radius: 10
vacuum_radius: 10
attributes:
- calibration_points
Loading

0 comments on commit 2484e72

Please sign in to comment.