fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
550 stars 102 forks source link

Breaking Change in 2021.7 breaking changes #218

Closed xannor closed 2 years ago

xannor commented 3 years ago

A change to the names of types (that was not clarified in the documentation) will break this integration in the 2021.7 release. I will submit the correction shortly.

The issue is that the documentation states to use TRIGGER_BASE_SCHEMA which can be imported from device_automation, however I think it was supposed to be DEVICE_TRIGGER_BASE_SCHEMA. The scaffold created this and some modern components use this, however the docs alone just reference TRIGGER_BASESCHEMA. This no longer exists and this the integration breaks on load (and will break other automations.) The fix is minor just add DEVICE before and everything is fine.

xannor commented 3 years ago

Added a fix for playback in this version as well.

ranrinc commented 3 years ago

Test your fixed.. and hope it will allow me to keep streaming.. Thanks