41 lines
1.2 KiB
YAML
Executable File

#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Neato Support for D7 Connected Botvac - control my [Neato Vacuum](http://amzn.to/2kqnnqu) with Home Assistant.
#-------------------------------------------
# homeassistant:
# customize_glob:
# "*.*_sleep_hours":
# unit_of_measurement: hours
# icon: mdi:sleep
#
# hidden: False
#-------------------------------------------
sensor:
platform: minecraft
name: Bear Stone
server: !secret minecraft
#-------------------------------------------
group:
Minecraft:
entities:
- sensor.bear_stone
##############################################################################
### Automations - Detect when things are not right. Like any Good Watchdog.
##############################################################################
#automation:
#Tweets pushed out to twitter.
automation:
- alias: Someone on the MC server!
trigger:
- platform: state
entity_id: sensor.bear_stone
to: '1/10'
action:
- service: script.notify_engine
data_template:
value1: "The following users are online: {{ states.sensor.bear_stone.attributes.users_online }}"
who: 'carlo'