Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. - platform: rest
  2.     resource: www.cfr.toscana.it/monitoraggio/stazioni.php?type=termo
  3.     name: Temperatura Abbadia S Salvatore
  4.     value_template: "{{ value|regex_findall_index(find='Salvatore\\D+\\d\\D+\\d+\\D+([0-9.]{3,4})', ignorecase=False) }}"
  5.     scan_interval: 1800
  6.     unit_of_measurement: '°C'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement