Skip to content

Upgrade multiscrape component to integration

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 28 May 08:55
· 765 commits to master since this release

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" }}'