2018-01-18 19:49:16 +00:00
|
|
|
#-------------------------------------------
|
|
|
|
# @CCOSTAN
|
|
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
2020-10-25 19:38:16 +00:00
|
|
|
# Tracking stocks with Yahoo Finance Custom Component
|
|
|
|
# https://www.vcloudinfo.com/2020/10/how-to-track-stocks-in-home-assistant-using-a-custom-component.html
|
2018-01-18 19:49:16 +00:00
|
|
|
#-------------------------------------------
|
2020-06-05 15:22:28 +00:00
|
|
|
|
2018-01-18 19:49:16 +00:00
|
|
|
sensor:
|
2020-10-25 19:38:16 +00:00
|
|
|
- platform: yahoofinance
|
|
|
|
scan_interval:
|
|
|
|
hours: 4
|
2018-01-18 19:49:16 +00:00
|
|
|
symbols:
|
2020-10-25 19:38:16 +00:00
|
|
|
- TSLA
|
|
|
|
- VMW
|
|
|
|
- AMZN
|
2018-06-19 16:13:59 +00:00
|
|
|
|
2020-10-25 19:38:16 +00:00
|
|
|
# sensor:
|
|
|
|
# - platform: alpha_vantage
|
|
|
|
# scan_interval: 2400
|
|
|
|
# api_key: !secret vantage_api
|
|
|
|
# symbols:
|
|
|
|
# - name: Tesla
|
|
|
|
# currency: USD
|
|
|
|
# symbol: TSLA
|
|
|
|
# - name: VMware
|
|
|
|
# currency: USD
|
|
|
|
# symbol: VMW
|
|
|
|
# - name: Amazon
|
|
|
|
# currency: USD
|
|
|
|
# symbol: AMZN
|
|
|
|
#
|
|
|
|
# - platform: coinmarketcap
|
|
|
|
# currency_id: 1027
|
|
|
|
# - platform: coinmarketcap
|
|
|
|
# currency_id: 1
|
2018-01-18 19:49:16 +00:00
|
|
|
#-------------------------------------------
|
2018-01-18 20:00:05 +00:00
|
|
|
|
2018-01-18 19:49:16 +00:00
|
|
|
##############################################################################
|
|
|
|
### Automations - Detect when things are not right. Like any Good Watchdog.
|
|
|
|
##############################################################################
|
|
|
|
#automation:
|
2018-01-18 20:00:05 +00:00
|
|
|
#Tweets pushed out to twitter.
|