Skip to content

Commit

Permalink
Fix HACS zip release (#31)
Browse files Browse the repository at this point in the history
* Quickfix for absent zip release

* Update CHANGELOG.md

* Fix lint
  • Loading branch information
azogue authored Mar 7, 2021
1 parent 6e600c1 commit eb56b7e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Changelog

## [v2.4.0](https://github.com/azogue/eventsensor/tree/v2.4.0) (2021-03-07)
## [v2.4.1](https://github.com/azogue/eventsensor/tree/v2.4.1) (2021-03-07)

[Full Changelog](https://github.com/azogue/eventsensor/compare/v2.2.0...v2.4.0)
[Full Changelog](https://github.com/azogue/eventsensor/compare/v2.2.0...v2.4.1)

**Changes:**

- Disable listening to EVENT_STATE_CHANGED even with manual YAML.
- Add version tag to hacs.json & manifest.json, and declare a zip release file.
- Add version tag to hacs.json & manifest.json.
- Share event listeners for multiple sensors, and dispatch all event filters for each sensor derived from a specific event.
- Parse boolean values in event data, so "true"/"false" are processed as expected.
- Add default mapping templates for Philips Hue Smart Button.
Expand Down
2 changes: 1 addition & 1 deletion custom_components/eventsensor/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
1000: "1_click",
1001: "1_hold",
1002: "1_click_up",
1003: "1_hold_up"
1003: "1_hold_up",
}
_rg_dict_extraction = re.compile(r"({[^{}]+})")

Expand Down
2 changes: 1 addition & 1 deletion custom_components/eventsensor/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"codeowners": [
"@azogue"
],
"version": "2.4.0"
"version": "2.4.1"
}
5 changes: 2 additions & 3 deletions hacs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"domains": [
"sensor"
],
"zip_release": true,
"filename": "eventsensor.zip",
"zip_release": false,
"homeassistant": "0.109.0",
"iot_class": "Local Push",
"render_readme": true,
"version": "2.4.0"
"version": "2.4.1"
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "eventsensor"
version = "2.4.0"
version = "2.4.1"
description = "HomeAssistant custom sensor to track specific events"
authors = ["Eugenio Panadero <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit eb56b7e

Please sign in to comment.