home-assistant.io/source/_components/sensor.yahoo_finance.markdown
2016-10-31 13:31:34 +01:00

1.1 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class, featured, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_iot_class featured ha_release
page Yahoo Finance Instructions how to setup Yahoo Finance within Home Assistant. 2016-09-18 21:00 true false true true yahoo_finance.png Finance Cloud Polling false 0.29

The yahoo_finance platform uses Yahoo Finance to monitor the stock market.

To enable the yahoo_finance platform, add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: yahoo_finance

Configuration variables:

  • name (Optional): The name of the sensor. If not specified, it defaults to Yahoo Stock.
  • symbols array (Optional): List of stock market symbols for given companies. If not specified, it defaults to Yahoo (YHOO).

{% linkable_title Examples %}

In this section you find some real life examples of how to use this sensor.

{% linkable_title Red Hat and Google %}

sensor:
  - platform: yahoo_finance
    symbols:
      - RHT
      - GOOGL