mirror of
https://github.com/skalavala/mysmarthome.git
synced 2025-09-01 18:56:40 +00:00
Back Alive!
This commit is contained in:
32
packages/quotes.yaml
Executable file
32
packages/quotes.yaml
Executable file
@@ -0,0 +1,32 @@
|
||||
# # ##############################################################################
|
||||
# # @author : Mahasri Kalavala
|
||||
# # @date : 01/05/2018
|
||||
# # @package : Random Quote at Startup
|
||||
# # @description : Daily quotes
|
||||
# # ##############################################################################
|
||||
# homeassistant:
|
||||
# customize:
|
||||
# sensor.quote_of_the_day:
|
||||
# hidden: true
|
||||
|
||||
# sensor:
|
||||
# - platform: rest
|
||||
# name: quote_of_the_day
|
||||
# resource: http://api.forismatic.com/api/1.0/?method=getQuote&format=json&lang=en
|
||||
# value_template: '{{ value_json.quoteText }} - By {{ value_json.quoteAuthor }}'
|
||||
# scan_interval: 86400
|
||||
|
||||
# automation:
|
||||
|
||||
# - alias: Quote At Startup
|
||||
# initial_state: true
|
||||
# trigger:
|
||||
# - platform: homeassistant
|
||||
# event: start
|
||||
# action:
|
||||
# - delay:
|
||||
# seconds: 15
|
||||
# - service: persistent_notification.create
|
||||
# data:
|
||||
# title: 'Quote:'
|
||||
# message: '{{ states.sensor.quote_of_the_day.state }}'
|
Reference in New Issue
Block a user