Untitled

From Denim Peafowl, 3 Months ago, written in Plain Text, viewed 90 times.
URL http://codebin.org/view/e75aa928 Embed
Download Paste or View Raw
  1. multiscrape:
  2.   - resource: 'http://192.168.1.224/config'
  3.     scan_interval: 900 # rescan every 15 minutes (15*60=900)
  4.     sensor:
  5.       - unique_id: sensor.watertank
  6.         name: watertank
  7.         select: 'body > div > div.container > dl:nth-child(5) > dd:nth-child(8)'
  8.         value_template: '{{ (value | regex_findall_index("1\":(-?\d+\.?\d+)") | float - 61) | multiply(0.29893238) | round(0) }}'

Reply to "Untitled"

Here you can reply to the paste above