Home-AssistantConfig/config/packages/finance.yaml

49 lines
1.3 KiB
YAML
Executable File

#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# 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
#-------------------------------------------
sensor:
- platform: yahoofinance
scan_interval:
hours: 4
symbols:
- TSLA
- VMW
- AMZN
- platform: coinmarketcap
currency_id: 1027
- platform: coinmarketcap
currency_id: 1
# 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
#-------------------------------------------
##############################################################################
### Automations - Detect when things are not right. Like any Good Watchdog.
##############################################################################
#automation:
#Tweets pushed out to twitter.