Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge the v0.12 branch now that Frigate v0.12 has been released #458

Merged
merged 33 commits into from
Apr 12, 2023

Conversation

NickM-27
Copy link
Collaborator

@NickM-27 NickM-27 commented Apr 8, 2023

might be a cleaner way to do this, but 0.12 is fully released so I think this should be good to go as well. I fixed the small merge conflicts

NickM-27 and others added 30 commits November 5, 2022 08:50
)

* Add proxy views for new live view types and fix jsmpeg

* Fix current tests

* Adjust path

* Restore frigate integration path

* Restore frigate integration path

* Add other tests

* Fix tests

* Formatting

* Remove copied code
* Support rtsp restream

* Add restream to config

* Update tests to account for restream

* Formatting

* Formatting

* Use template for RTSP

* Add RTSP config flow and tests

* Fix test

* Set restream type

* Adjust tests for extra attr

* Fix mypy
* Bump actions/setup-python from 4.2.0 to 4.3.0 (blakeblackshear#357)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump crazy-max/ghaction-github-labeler from 4.0.0 to 4.1.0 (blakeblackshear#359)

Bumps [crazy-max/ghaction-github-labeler](https://github.com/crazy-max/ghaction-github-labeler) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/crazy-max/ghaction-github-labeler/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-labeler/blob/v4.1.0/CHANGELOG.md)
- [Commits](crazy-max/ghaction-github-labeler@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-labeler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump release-drafter/release-drafter from 5.20.1 to 5.21.1 (blakeblackshear#358)

Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.20.1 to 5.21.1.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](release-drafter/release-drafter@v5.20.1...v5.21.1)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix HACS add repository badge (blakeblackshear#367)

* Fix flake8 in the build. (blakeblackshear#380)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>
* Bump actions/setup-python from 4.2.0 to 4.3.0 (blakeblackshear#357)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump crazy-max/ghaction-github-labeler from 4.0.0 to 4.1.0 (blakeblackshear#359)

Bumps [crazy-max/ghaction-github-labeler](https://github.com/crazy-max/ghaction-github-labeler) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/crazy-max/ghaction-github-labeler/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-labeler/blob/v4.1.0/CHANGELOG.md)
- [Commits](crazy-max/ghaction-github-labeler@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-labeler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump release-drafter/release-drafter from 5.20.1 to 5.21.1 (blakeblackshear#358)

Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.20.1 to 5.21.1.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](release-drafter/release-drafter@v5.20.1...v5.21.1)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix HACS add repository badge (blakeblackshear#367)

* Fix flake8 in the build. (blakeblackshear#380)

* Add cpu usage sensors

* Formatting

* Clean up and fix bugs

* Update stats to reflect new sensor

* Add tests

* Fix placement of test stats

* Add negative case tests

* Better default

* Move to attr_name

* Formatting

* Fix sorting

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>
Co-authored-by: Dermot Duffy <[email protected]>
* Add sensor for gpu load

* Fix gpu access

* Fix var access

* Add tests

* Fix test

* Fix test
* Handle both date formats and convert new format to local server time

* Add test

* Formatting

* Fix test

* Format time

* Fix time formatting

* Fix mypy

* Redo logic for validating which folder structure is used

* More cleanup

* Don't provide name of error

* Formatting

* Remove TODO
)

* Add birdseye camera entity

* Formatting

* Fix logic

* Add tests for birdseye camera

* Set full restream config

* Fix bad entity id

* Add ability to pull latest snapshot from birdseye

* Add test

* Fix entity access

* Add streaming template for birdseye

* Add test for birdseye template

* Fix set

* Fix formatting
…lackshear#389)

* Handle new folder structure

* Add timezone param to recordings summary

* Add dependency for tzlocal

* Rewrite recordings media source to use rcordings summary api

* Fixes

* Add req

* Format reqs

* Fix sort

* Try to fix test

* More test fixes

* More fixes

* Fix media root test

* Remove unused test

* More test fixes

* More test fixes

* Fix mypy

* More test fixes

* More test fixes

* Add types dep

* Raise and assert raises

* Add types dep

* Fix tests

* No exception

* assert media

* remove unused check

* Send exception

* Fix format string

* Fix api typing

* Formatting

* Mypy fixes

* More mypy fixes

* Undo

* Remove

* Formatting

* Set type specifically

* Formatting

* Review fixes

* Remove unused test

* Fix test for year

* Set type for hour items

* Remove explicit type set
…r#392)

* Switch to media browser title formats that are more suitable for international users

* Continue to validate y-m-d
…ne to event summary (blakeblackshear#397)

* Remove tzlocal

* Use HA timezone option to feed timezone

* Fix tests

* Fix tests

* Fix test with tiemzone

* remove constructor and pass to func

* Add timezone to event summary call

* Use pytz to convert timezone to utc before sending

* Fix timezone access

* Fix string

* Fix event summary call

* Fix timezone

* Fix tests

* Fix month formatting

* Mypy fixes

* Fix mypy and tests

* Cleanup timezone conversion

* Cleanup

* Fix mypy

* Fix mypy
* Fix birdseye / restream

* Fix tests

* Fix tests

* Put config in correct place

* Fix clearing go2rtc

* Fix template
* _attr_is_streaming was set True from old restream

* move is streaming check

* discard old restream check

* formating fix
* Force AAC audio to be used in RTSP URL

* Add reminder to remove after fix
* Bump actions/setup-python from 4.2.0 to 4.3.0 (blakeblackshear#357)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump crazy-max/ghaction-github-labeler from 4.0.0 to 4.1.0 (blakeblackshear#359)

Bumps [crazy-max/ghaction-github-labeler](https://github.com/crazy-max/ghaction-github-labeler) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/crazy-max/ghaction-github-labeler/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-labeler/blob/v4.1.0/CHANGELOG.md)
- [Commits](crazy-max/ghaction-github-labeler@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-labeler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump release-drafter/release-drafter from 5.20.1 to 5.21.1 (blakeblackshear#358)

Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.20.1 to 5.21.1.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](release-drafter/release-drafter@v5.20.1...v5.21.1)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix HACS add repository badge (blakeblackshear#367)

* Fix flake8 in the build. (blakeblackshear#380)

* Fix build badge. (blakeblackshear#385)

* Bump actions/checkout from 3.1.0 to 3.2.0 (blakeblackshear#383)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/setup-python from 4.3.0 to 4.3.1 (blakeblackshear#378)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/setup-python from 4.3.1 to 4.4.0 (blakeblackshear#387)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.3.1...v4.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump release-drafter/release-drafter from 5.21.1 to 5.22.0 (blakeblackshear#394)

Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.21.1 to 5.22.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](release-drafter/release-drafter@v5.21.1...v5.22.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/checkout from 3.2.0 to 3.3.0 (blakeblackshear#400)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/setup-python from 4.4.0 to 4.5.0 (blakeblackshear#407)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Latest version check: add handling for "disabled" (blakeblackshear#417)

This goes alongside blakeblackshear/frigate#5208 to ensure that the HASS integration correctly handles the new "disabled" API response that occurs if the Frigate version update check is disabled.

* Update isort. (blakeblackshear#425)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>
Co-authored-by: James L <[email protected]>
* Bump actions/setup-python from 4.2.0 to 4.3.0 (blakeblackshear#357)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump crazy-max/ghaction-github-labeler from 4.0.0 to 4.1.0 (blakeblackshear#359)

Bumps [crazy-max/ghaction-github-labeler](https://github.com/crazy-max/ghaction-github-labeler) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/crazy-max/ghaction-github-labeler/releases)
- [Changelog](https://github.com/crazy-max/ghaction-github-labeler/blob/v4.1.0/CHANGELOG.md)
- [Commits](crazy-max/ghaction-github-labeler@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-labeler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump release-drafter/release-drafter from 5.20.1 to 5.21.1 (blakeblackshear#358)

Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.20.1 to 5.21.1.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](release-drafter/release-drafter@v5.20.1...v5.21.1)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix HACS add repository badge (blakeblackshear#367)

* Fix flake8 in the build. (blakeblackshear#380)

* Fix build badge. (blakeblackshear#385)

* Bump actions/checkout from 3.1.0 to 3.2.0 (blakeblackshear#383)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/setup-python from 4.3.0 to 4.3.1 (blakeblackshear#378)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/setup-python from 4.3.1 to 4.4.0 (blakeblackshear#387)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.3.1...v4.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump release-drafter/release-drafter from 5.21.1 to 5.22.0 (blakeblackshear#394)

Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.21.1 to 5.22.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](release-drafter/release-drafter@v5.21.1...v5.22.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/checkout from 3.2.0 to 3.3.0 (blakeblackshear#400)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/setup-python from 4.4.0 to 4.5.0 (blakeblackshear#407)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Latest version check: add handling for "disabled" (blakeblackshear#417)

This goes alongside blakeblackshear/frigate#5208 to ensure that the HASS integration correctly handles the new "disabled" API response that occurs if the Frigate version update check is disabled.

* Update isort. (blakeblackshear#425)

* Fixes for Home Assistant 2023.1.7+, Python 3.9, Python 3.10 (blakeblackshear#426)

* Updates for Home Assistant 2023.1.7 and Python 3.9 .

* Fix for Python 3.10.

* Minor type fixes.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felipe Santos <[email protected]>
Co-authored-by: James L <[email protected]>
* Fix handling of GPU error

* Update tests

* Clean up logic
…kshear#444)

* Allow the card to search via sub_labels .

* Minor fix / sort.

* Fix test.
* Fix DST related test failure.

* Try the conversion from the HA local time instead.

* Save value of localized TZ.
@codecov
Copy link

codecov bot commented Apr 8, 2023

Codecov Report

Merging #458 (c5c2b33) into master (705fbef) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master      #458    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           15        15            
  Lines         1765      1881   +116     
==========================================
+ Hits          1765      1881   +116     
Impacted Files Coverage Δ
custom_components/frigate/config_flow.py 100.00% <ø> (ø)
custom_components/frigate/ws_api.py 100.00% <ø> (ø)
custom_components/frigate/__init__.py 100.00% <100.00%> (ø)
custom_components/frigate/api.py 100.00% <100.00%> (ø)
custom_components/frigate/binary_sensor.py 100.00% <100.00%> (ø)
custom_components/frigate/camera.py 100.00% <100.00%> (ø)
custom_components/frigate/const.py 100.00% <100.00%> (ø)
custom_components/frigate/media_source.py 100.00% <100.00%> (ø)
custom_components/frigate/sensor.py 100.00% <100.00%> (ø)
custom_components/frigate/views.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@NickM-27
Copy link
Collaborator Author

NickM-27 commented Apr 10, 2023

@dermotduffy not sure what the error is here (or more specifically, why it shows here but not on the frigate 0.12 branch), do you have any ideas?

assuming it may be a dependency update somewhere

@dermotduffy
Copy link
Collaborator

@NickM-27 Hmm. No idea, sorry. Types look compatible to me. Does this pass locally for you?

@NickM-27
Copy link
Collaborator Author

@NickM-27 Hmm. No idea, sorry. Types look compatible to me. Does this pass locally for you?

mypy works succssfully for me locally

@thinkjk
Copy link

thinkjk commented Apr 11, 2023

Is it possible to re-run the failed job or push an empty commit to run the whole pipeline again?

@NickM-27
Copy link
Collaborator Author

same issue

@dermotduffy
Copy link
Collaborator

Update your local mypy (pip install --upgrade mypy) and I bet you'll have the same issue (I do).

@dermotduffy
Copy link
Collaborator

Likely related: python/mypy#14526

Suggest for now pegging mypy with mypy==1.1.1 in requirements_dev.txt.

@NickM-27
Copy link
Collaborator Author

@dermotduffy looks like that did it

@dermotduffy dermotduffy changed the title Merge 0.12 Merge the v0.12 branch now that Frigate v0.12 has been released Apr 12, 2023
@dermotduffy dermotduffy merged commit 7d3b0c7 into blakeblackshear:master Apr 12, 2023
@dermotduffy
Copy link
Collaborator

Thanks @NickM-27 !

@NickM-27 NickM-27 deleted the merge-0.12 branch August 13, 2023 02:07
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.

5 participants