Changes
Multiscrape now became an integration based on the rest integration and adds a binary_sensor.
This comes with some BREAKING CHANGES in the configuration.
Please check the Upgrade notes!!
New configuration (including a new binary_sensor):
multiscrape:
- resource: https://www.home-assistant.io
scan_interval: 3600
sensor:
- name: Latest version
select: ".current-version > h1:nth-child(1)"
value_template: '{{ (value.split(":")[1]) }}'
- name: Release date
select: ".release-date"
binary_sensor:
- name: Latest version == 2021.6.0
select: ".current-version > h1:nth-child(1)"
value_template: '{{ (value.split(":")[1]) | trim == "2021.6.0" }}'
📦 Dependencies
- Bump black from 21.5b1 to 21.5b2 in /.github/workflows (#25) @dependabot