Updated remaining switch..
This commit is contained in:
parent
093e466367
commit
1b73831226
|
@ -2,22 +2,13 @@
|
|||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#-------------------------------------------
|
||||
homeassistant:
|
||||
customize:
|
||||
sensor.process_mosquitto:
|
||||
friendly_name: 'Mosquitto'
|
||||
emulated_hue_hidden: True
|
||||
hidden: False
|
||||
sensor.process_homebridge:
|
||||
friendly_name: 'Apple HomeKit'
|
||||
emulated_hue_hidden: True
|
||||
hidden: False
|
||||
sensor.process_node:
|
||||
friendly_name: 'Dash Button Monitor'
|
||||
emulated_hue_hidden: True
|
||||
hidden: False
|
||||
group.processes:
|
||||
homebridge_hidden: true
|
||||
# homeassistant:
|
||||
# customize:
|
||||
# sensor.process_mosquitto:
|
||||
# friendly_name: 'Mosquitto'
|
||||
# emulated_hue_hidden: True
|
||||
# hidden: False
|
||||
|
||||
#-------------------------------------------
|
||||
sensor:
|
||||
- platform: systemmonitor
|
||||
|
@ -26,52 +17,13 @@ sensor:
|
|||
- type: since_last_boot
|
||||
- type: disk_use_percent
|
||||
arg: /
|
||||
- type: process
|
||||
arg: mosquitto
|
||||
- type: process
|
||||
arg: homebridge
|
||||
- type: process
|
||||
arg: node
|
||||
#-------------------------------------------
|
||||
group:
|
||||
processes:
|
||||
name: Processes
|
||||
control: hidden
|
||||
entities:
|
||||
- sensor.process_mosquitto
|
||||
- sensor.process_homebridge
|
||||
- sensor.process_node
|
||||
|
||||
#-------------------------------------------
|
||||
##############################################################################
|
||||
### Automations - Detect when things are not right. Like any Good Watchdog.
|
||||
##############################################################################
|
||||
|
||||
automation:
|
||||
- alias: 'Device Status'
|
||||
hide_entity: True
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.process_mosquitto
|
||||
- sensor.process_homebridge
|
||||
- sensor.process_dasher
|
||||
to: 'off'
|
||||
for:
|
||||
minutes: 1
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
value1: 'Process Status:'
|
||||
value2: "{{ trigger.to_state.attributes.friendly_name }} is "
|
||||
value3: "{{ trigger.to_state.state }}"
|
||||
who: 'carlo'
|
||||
|
||||
- service: script.tweet_engine
|
||||
data:
|
||||
tweet: "Oh NO! {{ trigger.to_state.attributes.friendly_name }} is now {{ trigger.to_state.state }}. #ProcessMonitor"
|
||||
|
||||
#-------------------------------------------
|
||||
|
||||
- alias: "Self Heal Disk Use Alarm"
|
||||
trigger:
|
||||
|
|
|
@ -34,6 +34,11 @@
|
|||
command_on: 'sh8yAAcSBxMHEwcTBxIUBgcTBxMHExMGEwcTBwcTFAYHExMHBxMHEwcSBxMHEgcSEwcTBge9AAAAAAAA'
|
||||
command_off: 'skIyAAcTBxIHEgcSBxMTBgcTBxIHExQGEwYUBgcTEwcHExQGBxMHEgcTBxITBxMGBxMHEge8AAAAAAAA'
|
||||
|
||||
living_room_outlet:
|
||||
friendly_name: "Living Room Outlet"
|
||||
command_on: 'slYyAAcTEwcHExMHBxMGEwcTEwcHExMHBxMTBwYTEwcHExMHEwcTBwcTBxMHEwcTEwcTBwe+AAAAAAAA'
|
||||
command_off: 'sl4yAAcTEwcGExMHBxMHEwcTFAcHExMHBxMTBwYTEwcHExMHEwcTBwYTBxMTBxMHBhMHEwe+AAAAAAAA'
|
||||
|
||||
master_bathroom_accents:
|
||||
friendly_name: "Master Bathroom Accents"
|
||||
command_on: 'siAyAAUTEQcFExEIBhMGEwYTBhMGExEHBhMRCAYTEQgGExEHBRMFExEIEQgGEwYTEQcRBwa1AAAAAAAA'
|
||||
|
|
Loading…
Reference in New Issue