Commit f8ed0f4
Fix nullable fields in Supervisor info model (#287)
* Add test for supervisor info with version_latest None
Covers the case where version info failed to fetch and the Supervisor
API returns null for version_latest.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Add test for supervisor info optional fields being None
Covers version_latest (version fetch failed) and arch (io.hass.arch
label missing) both returning null from the Supervisor API.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Drop expected
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 595dc8e commit f8ed0f4
2 files changed
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
50 | 70 | | |
51 | 71 | | |
52 | 72 | | |
| |||
0 commit comments