1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix feedback from UVC (#45630)

* Fixing feedback from UVC

* Couple of fixes
This commit is contained in:
Ryan Fleming
2021-01-30 02:00:27 -05:00
committed by GitHub
parent 87d40ff815
commit 8a112721fa
2 changed files with 7 additions and 5 deletions

View File

@@ -257,7 +257,7 @@ class TestUVC(unittest.TestCase):
assert not self.uvc.is_recording
assert (
datetime(2021, 1, 8, 1, 56, 32, 367000)
== self.uvc.state_attributes["last_recording_start_time"]
== self.uvc.device_state_attributes["last_recording_start_time"]
)
self.nvr.get_camera.return_value["recordingIndicator"] = "DISABLED"