Skip to content

Commit 3c4b151

Browse files
chore: release main (#13)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 40f02d9 commit 3c4b151

File tree

6 files changed

+53
-5
lines changed

6 files changed

+53
-5
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"crates/discovery":"0.1.0","crates/entity-state":"0.1.0"}
1+
{"crates/discovery":"0.2.0","crates/entity-state":"0.2.0"}

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/discovery/CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# Changelog
22

3+
## [0.2.0](https://github.com/YoloDev/hass-rs/compare/hass-mqtt-discovery-v0.1.0...hass-mqtt-discovery-v0.2.0) (2022-11-27)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* large API rewrite
9+
* Changes type of the `Switch` field `command_topic`.
10+
* Removes `Default` impl from `Switch` entities.
11+
* Moves common fields to an `entity` field.
12+
13+
### Features
14+
15+
* add `availability` to `Sensor` entity ([ad26040](https://github.com/YoloDev/hass-rs/commit/ad26040f7a85a359f32b5b011508300af9da5be3))
16+
* add `value_template` to Availability ([6b34e43](https://github.com/YoloDev/hass-rs/commit/6b34e434440f7a3666f97faa13739c5ac8808dde))
17+
* add more discovery entities ([#17](https://github.com/YoloDev/hass-rs/issues/17)) ([a912eb7](https://github.com/YoloDev/hass-rs/commit/a912eb7b8ce80cb8ed64a15e49be48f7d6751a54))
18+
* Common `Entity` struct ([#14](https://github.com/YoloDev/hass-rs/issues/14)) ([b800bbd](https://github.com/YoloDev/hass-rs/commit/b800bbdbf651f0790ca3c760a661b2831ebc3d02))
19+
* Cover discovery entity ([#22](https://github.com/YoloDev/hass-rs/issues/22)) ([5829123](https://github.com/YoloDev/hass-rs/commit/5829123a78b2e482a83141fed2cb143137b40b72))
20+
* DeviceTracker entity ([#18](https://github.com/YoloDev/hass-rs/issues/18)) ([0cbc757](https://github.com/YoloDev/hass-rs/commit/0cbc7572ec208671111ee69618286e3dc044b5ee))
21+
* discovery document macro ([#19](https://github.com/YoloDev/hass-rs/issues/19)) ([1278754](https://github.com/YoloDev/hass-rs/commit/1278754bd5e559df1a4d012903ea65df9b25589b))
22+
* fill in more `Sensor` discovery fields ([6ed9540](https://github.com/YoloDev/hass-rs/commit/6ed95401dbabc4742f422c7f16a49ddef798ab99))
23+
* impl Default for Device ([b477b1f](https://github.com/YoloDev/hass-rs/commit/b477b1fbc7f9cbcedd2497c7f907d080f11475e4))
24+
* impl traits for AvailabilityMode ([2e9f58d](https://github.com/YoloDev/hass-rs/commit/2e9f58d38e79c26a43f883d059f084d47db03de1))
25+
* support more discovered Device fields ([5d5a310](https://github.com/YoloDev/hass-rs/commit/5d5a310f5d2eae156961fd5e27cef7a0c6259fe1))
26+
27+
28+
### Bug Fixes
29+
30+
* change type of the `Switch` field `command_topic` ([dbd0fe5](https://github.com/YoloDev/hass-rs/commit/dbd0fe5958f6cf6fb329b572f77336762fc9c1c7))
31+
* normalize device_class ([#23](https://github.com/YoloDev/hass-rs/issues/23)) ([40f02d9](https://github.com/YoloDev/hass-rs/commit/40f02d9d84b9bb9166956a933a670dac8e3970ac))
32+
* remove `Default` impl from `Switch` entities ([dbd0fe5](https://github.com/YoloDev/hass-rs/commit/dbd0fe5958f6cf6fb329b572f77336762fc9c1c7))
33+
* require `command_topic` ([#15](https://github.com/YoloDev/hass-rs/issues/15)) ([dbd0fe5](https://github.com/YoloDev/hass-rs/commit/dbd0fe5958f6cf6fb329b572f77336762fc9c1c7))
34+
35+
36+
### Dependencies
37+
38+
* update rust crate semval to 0.5 ([#20](https://github.com/YoloDev/hass-rs/issues/20)) ([52b2d1a](https://github.com/YoloDev/hass-rs/commit/52b2d1aa82a0bfbc0622cd92a6d9ec9bfe16df0d))
39+
340
## 0.1.0 (2021-11-16)
441

542

crates/discovery/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hass-mqtt-discovery"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2021"
55
description = "home-assistant MQTT discovery types"
66
license = "MIT"

crates/entity-state/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [0.2.0](https://github.com/YoloDev/hass-rs/compare/hass-entity-state-v0.1.0...hass-entity-state-v0.2.0) (2022-11-27)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* large API rewrite
9+
10+
### Features
11+
12+
* discovery document macro ([#19](https://github.com/YoloDev/hass-rs/issues/19)) ([1278754](https://github.com/YoloDev/hass-rs/commit/1278754bd5e559df1a4d012903ea65df9b25589b))
13+
314
## 0.1.0 (2021-11-16)
415

516

crates/entity-state/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hass-entity-state"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2021"
55
description = "home-assistant MQTT entity state types"
66
license = "MIT"

0 commit comments

Comments
 (0)