Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Fix LAN device sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
duboisph committed Apr 18, 2020
1 parent 0ac710f commit e051115
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/lan.yaml
Expand Up @@ -3,8 +3,8 @@ device_tracker:
hosts: !secret nmap_tracker_hosts
exclude:
- !secret hass_host
interval_seconds: 20
consider_home: 360
interval_seconds: 60
consider_home: 300
home_interval: 10
new_device_defaults:
track_new_devices: true
Expand All @@ -19,8 +19,9 @@ homeassistant:
customize_glob:
sensor.system_*:
templates:
hs_color: "if (state === 'Online') return [0, 0];
else return [357, 71];"
icon_color: >
if (state === 'Online') return 'white';
else return 'rgb(225, 75, 76)';
sensor:
#### SERVER MONITORING #######################################################
Expand Down

0 comments on commit e051115

Please sign in to comment.