Skip to content

Fingrid API RESTfull sensor examples for home assistant

License

Notifications You must be signed in to change notification settings

matkaan/home-assistant-fingrid-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Fingrid API

Home Assistant sensor for Fingrid open API data.

Sensors

Currently only one simple sensor:

Usage

  1. Register free Fingrid API key, it is easy to get. See https://data.fingrid.fi/fi/pages/api
  2. Add API key to your secrets.yaml -file "fingrid_api_key: [your personal Fingrid api key]"
  3. Add sensor code (separate file) to configuration.yaml -file.
  4. Use entities on dashboards (see UI examples), automations, etc.

UI card examples:

type: entities
entities:
  - entity: sensor.fingrid_power_system_state

type: history-graph
entities:
  - entity: sensor.fingrid_power_system_state
    name: Fingrid

Fingrid power status dashboard example!

Automation examples

Send notification on all changes

alias: Fingrid status change notification
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.fingrid_power_system_state
    attribute: value
condition: []
action:
  - service: notify.notify
    data:
      message: >-
        Fingrid: Sähköjärjestelmän tila on muuttunut, tarkista Home Assistant
        dashboard.
mode: single

Links

About

Fingrid API RESTfull sensor examples for home assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published