Skip to content

Commit

Permalink
Merge branch 'development-0.4.X.X' of https://github.com/albertogenio…
Browse files Browse the repository at this point in the history
…la/MerossIot into 0.4.X.X
  • Loading branch information
albertogeniola committed Jan 4, 2023
2 parents 7e38bab + f6470cf commit a204601
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.5.4-rc1
0.4.5.4
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,15 @@ Anyway, feel free to contribute via donations!
</p>

## Changelog
#### 0.4.5.4
- Fix #274, due to Meross API change

<details>
<summary>Older</summary>
#### 0.4.5.4-rc1
- Fix tests
- Implement auto-discovery control parameter for the `MerossManager`

<details>
<summary>Older</summary>
#### 0.4.5.3
- Implement device registry dumper (#255)

Expand Down
14 changes: 7 additions & 7 deletions meross_iot/model/http/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ def __init__(self,
uuid: str,
online_status: Union[int, OnlineStatus],
dev_name: str,
dev_icon_id: str,
bind_time: Union[int, datetime],
device_type: str,
sub_type: str,
channels: List[dict],
region: str,
fmware_version: str,
hdware_version: str,
user_dev_icon: str,
icon_type: int,
skill_number: str,
domain: str,
reserved_domain: str,
sub_type: str = None,
bind_time: Union[int, datetime] = None,
skill_number: str = None,
user_dev_icon: str = None,
icon_type: int = None,
region: str = None,
dev_icon_id: str = None,
*args, **kwargs):

super().__init__(*args, **kwargs)
Expand Down

0 comments on commit a204601

Please sign in to comment.