Nathan Spencer
|
379b6f67f2
|
Swap out direct HTTP connection with server MQTT connection to handle firmware 2.60+ (#98)
* Switch to using mqtt
* Better mqtt handling when connection is interrupted
* Get track info from the cloud when playlist or index changes
* Add additional helpers
* Dynamically handle devices and other enhancements
* 📝 Add docstrings to `mqtt`
Docstrings generation was requested by @natekspencer.
* https://github.com/natekspencer/hacs-oasis_mini/pull/98#issuecomment-3568450288
The following files were modified:
* `custom_components/oasis_mini/__init__.py`
* `custom_components/oasis_mini/binary_sensor.py`
* `custom_components/oasis_mini/button.py`
* `custom_components/oasis_mini/config_flow.py`
* `custom_components/oasis_mini/coordinator.py`
* `custom_components/oasis_mini/entity.py`
* `custom_components/oasis_mini/helpers.py`
* `custom_components/oasis_mini/image.py`
* `custom_components/oasis_mini/light.py`
* `custom_components/oasis_mini/media_player.py`
* `custom_components/oasis_mini/number.py`
* `custom_components/oasis_mini/pyoasiscontrol/clients/cloud_client.py`
* `custom_components/oasis_mini/pyoasiscontrol/clients/http_client.py`
* `custom_components/oasis_mini/pyoasiscontrol/clients/mqtt_client.py`
* `custom_components/oasis_mini/pyoasiscontrol/clients/transport.py`
* `custom_components/oasis_mini/pyoasiscontrol/device.py`
* `custom_components/oasis_mini/pyoasiscontrol/utils.py`
* `custom_components/oasis_mini/select.py`
* `custom_components/oasis_mini/sensor.py`
* `custom_components/oasis_mini/switch.py`
* `custom_components/oasis_mini/update.py`
* `update_tracks.py`
* Fix formatting in transport.py
* Replace tabs with spaces
* Use tuples instead of sets for descriptors
* Encode svg in image entity
* Fix iot_class
* Fix tracks list url
* Ensure update_tracks closes the connection
* Fix number typing and docstring
* Fix docstring in update_tracks
* Cache playlist based on type
* Fix formatting in device.py
* Add missing async_send_auto_clean_command to http client
* Propagate UnauthenticatedError from async_get_track_info
* Adjust exceptions
* Move create_client outside of try block in config_flow
* Formatting
* Address PR comments
* Formatting
* Add noqa: ARG001 on unused hass
* Close cloud/MQTT clients if initial coordinator refresh fails.
* Address PR again
* PR fixes
* Pass config entry to coordinator
* Remove async_timeout (thanks ChatGPT... not)
* Address PR
* Replace magic numbers for status code
* Update autoplay wording/ordering
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
|
2025-11-24 01:09:23 -07:00 |
|
Nathan Spencer
|
2d37fb691f
|
Fix track info with new format
|
2025-07-23 19:49:46 +00:00 |
|
Nathan Spencer
|
595621652a
|
Update translations and add icons.json file
|
2025-01-10 22:02:29 +00:00 |
|
Nathan Spencer
|
51c4c8a6a2
|
Adjust media player to allow adding multiple tracks at a time
|
2025-01-10 21:48:31 +00:00 |
|
Nathan Spencer
|
6e13c22d43
|
Use runtime data instead of hass.data and other code cleanup
|
2024-08-04 14:06:26 -06:00 |
|
Nathan Spencer
|
33e62528ba
|
Better error handling
|
2024-08-03 17:31:30 -06:00 |
|
Nathan Spencer
|
cc80c295f6
|
Add support for enqueue options in media_player.play_media service and other minor improvements
|
2024-07-31 19:16:15 -06:00 |
|
Nathan Spencer
|
3b90603bef
|
Add additional features
|
2024-07-30 23:47:14 -06:00 |
|
Nathan Spencer
|
96edafd006
|
Handle IP update from DHCP and add drawing progress sensor
|
2024-07-25 10:52:47 -06:00 |
|
Nathan Spencer
|
0d539888e5
|
Updates to handle firmware version 0.71 and other improvements
|
2024-07-18 13:03:19 -06:00 |
|
Nathan Spencer
|
10fcfb8a9f
|
Updates
|
2024-07-08 23:58:14 -06:00 |
|
Nathan Spencer
|
e3d8ac927b
|
Initial commit
|
2024-07-06 18:37:00 -06:00 |
|