Skip to content

tibarbosa/home-assistant-euribor-rates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Home Assistant Logo

Home Assistant Euribor Rates

Euribor Rates information is provided by euribor-rates.eu.

Screenshots

screenshot-1 screenshot-2

Instructions

  1. Add this block to 'configuration.yaml'
   scrape:
 - resource: https://www.euribor-rates.eu/pt/
   scan_interval: 7200
   sensor:
     - name: Euribor (12 months)
       select: ".table > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(2)"
       unit_of_measurement: "%"
       value_template: '{{ value.split(" ")[0].replace(",", ".") }}'
       unique_id: euribor_12months

 - resource: https://www.euribor-rates.eu/pt/
   scan_interval: 7200
   sensor:
     - name: Euribor (6 months)
       select: ".table > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(2)"
       unit_of_measurement: "%"
       value_template: '{{ value.split(" ")[0].replace(",", ".") }}'
       unique_id: euribor_6months

 - resource: https://www.euribor-rates.eu/pt/
   scan_interval: 7200
   sensor:
     - name: Euribor (3 months)
       select: ".table > tbody:nth-child(1) > tr:nth-child(3) > td:nth-child(2)"
       unit_of_measurement: "%"
       value_template: '{{ value.split(" ")[0].replace(",", ".") }}'
       unique_id: euribor_3months

About

Home Assistant scrape to get Euribor rates

Resources

Stars

Watchers

Forks