Skip to content

Commit

Permalink
Organization of Files - Added Roomba Sensor
Browse files Browse the repository at this point in the history
Added a roomba sensor for status.
Cleaned up files to be more organized for sensors.  Added automation disable and enable boolean groups.
  • Loading branch information
mcaminiti committed Sep 13, 2018
1 parent e4846b6 commit 7ebf7ca
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 9 deletions.
8 changes: 8 additions & 0 deletions binary_sensors.yaml
@@ -0,0 +1,8 @@
#################################################################
## Binary Sensors
#################################################################

- platform: ring
monitored_conditions:
- ding
- motion
9 changes: 9 additions & 0 deletions camera.yaml
@@ -0,0 +1,9 @@
#################################################################
## Camera Feeds
#################################################################


- platform: uvc
nvr: REDACTED.101
key: !secret secret_uvc_key
password: !secret secret_uvc_password
8 changes: 2 additions & 6 deletions configuration.yaml
Expand Up @@ -82,12 +82,6 @@ ring:
username: !secret secret_ring_username
password: !secret secret_ring_password

binary_sensor:
- platform: ring
monitored_conditions:
- ding
- motion

# Nest
nest:
client_id: !secret secret_nest_clientid
Expand Down Expand Up @@ -229,6 +223,8 @@ logbook: !include logbook.yaml
recorder: !include recorder.yaml
automation: !include_dir_merge_list automation
sensor: !include sensors.yaml
binary_sensor: !include binary_sensors.yaml
camera: !include camera.yaml
input_boolean: !include input_boolean.yaml
input_select: !include input_select.yaml
light: !include light_group.yaml
Expand Down
3 changes: 2 additions & 1 deletion customize.yaml
Expand Up @@ -171,6 +171,8 @@
icon: mdi:robot-vacuum
sensor.roomba_bin:
icon: mdi:delete
sensor.roomba_status:
icon: mdi:robot-vacuum
##########################################################
## Weather
##########################################################
Expand Down Expand Up @@ -325,7 +327,6 @@
sensor.ups_battery_runtime_mins:
icon: mdi:timer


##########################################################
## All Groups / Troubleshooting
##########################################################
Expand Down
20 changes: 18 additions & 2 deletions groups.yaml
Expand Up @@ -23,6 +23,13 @@ sensors:
- group.nest
- group.vacuum

camera:
name: Camera
view: yes
icon: mdi:video
entities:
- group.cameras

weatherdashboard:
name: Weather
view: yes
Expand Down Expand Up @@ -70,7 +77,8 @@ settings:
view: yes
icon: mdi:settings
entities:
- group.automation_override
- group.automation_enable
- group.automation_disable

troubleshooting:
name: Troubleshooting
Expand Down Expand Up @@ -131,6 +139,10 @@ Indoor Motion:
- binary_sensor.home_occupancy
- binary_sensor.master_bedroom_occupancy

Cameras:
- camera.north__front_door
- camera.west__walkout

Water:
- binary_sensor.basement_water_sensor_liquid_detected

Expand Down Expand Up @@ -159,6 +171,7 @@ Remote:

Vacuum:
- vacuum.roomba
- sensor.roomba_status
- sensor.roomba_battery
- sensor.roomba_bin

Expand Down Expand Up @@ -271,5 +284,8 @@ Eth:
- sensor.nanopoolhashrate
- sensor.nanopoolbalance

Automation Override:
Automation Disable:
- input_boolean.disable_water_sensors

Automation Enable:
- input_boolean.vacation_mode
5 changes: 5 additions & 0 deletions sensors.yaml
Expand Up @@ -145,6 +145,11 @@
friendly_name: 'Roomba'
unit_of_measurement: '%'
device_class: battery
- platform: template
sensors:
roomba_status:
value_template: '{{ states.vacuum.roomba.attributes.status }}'
friendly_name: 'Roomba Status'
- platform: template
sensors:
ups_battery_runtime_mins:
Expand Down

0 comments on commit 7ebf7ca

Please sign in to comment.