Releases: danieldotnl/ha-multiscrape
Releases · danieldotnl/ha-multiscrape
Upgrade from component to integration
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
Upgrade multiscrape component to integration
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" }}'
Add support for device classes
Changes
- Small code cleanup (#18) @danieldotnl
- Support for device_class
- Significant code cleanup (moved constants and schemas to own file)
📦 Dependencies
- Bump pip from 21.1.1 to 21.1.2 in /.github/workflows (#21) @dependabot
- Bump pre-commit from 2.12.1 to 2.13.0 in /.github/workflows (#22) @dependabot
- Bump black from 21.5b0 to 21.5b1 in /.github/workflows (#17) @dependabot
- Bump flake8 from 3.9.1 to 3.9.2 in /.github/workflows (#16) @dependabot
- Bump black from 21.4b2 to 21.5b0 in /.github/workflows (#15) @dependabot
Some manifest fixes
Fixed some urls
Added mandatory iot_class
Default HACS release
Multiscrape is now available in the default HACS store.