Skip to content

Add trigger_ota_update device method#90

Merged
thecode merged 1 commit intohome-assistant-libs:mainfrom
mib1185:add-fwupdate-method
Apr 6, 2021
Merged

Add trigger_ota_update device method#90
thecode merged 1 commit intohome-assistant-libs:mainfrom
mib1185:add-fwupdate-method

Conversation

@mib1185
Copy link
Copy Markdown
Contributor

@mib1185 mib1185 commented Apr 5, 2021

This PR will add a new device method trigger_ota_update which allows to trigger an ota update according to https://shelly-api-docs.shelly.cloud/#ota.

Usage:

without parameters

Run firmware update from default URL (new_version)

with given url parameter

Run firmware update from specified URL

with given beta parameter

Run firmware update from beta URL (if available)

with both given beta and url parameter

Still run firmware update from specified URL (IMHO because url is more specific than beta)

@mib1185 mib1185 force-pushed the add-fwupdate-method branch from 3f44d00 to 1e5570a Compare April 5, 2021 13:04
@mib1185 mib1185 changed the title Add trigger_fw_update device method Add trigger_ota_update device method Apr 5, 2021
Copy link
Copy Markdown
Contributor

@thecode thecode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mib1185

@thecode thecode merged commit f3dbd46 into home-assistant-libs:main Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants