Remove unused snapshots [a-f] (#117999)

This commit is contained in:
Thomas55555 2024-05-24 08:28:04 +02:00 committed by GitHub
parent 3c7857f0f0
commit 528d67ee06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 0 additions and 5240 deletions

View File

@ -1,988 +1,4 @@
# serializer version: 1
# name: test_forecast_service
dict({
'forecast': list([
dict({
'condition': 'snowy',
'datetime': '2021-01-08T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': 2.0,
'templow': -1.0,
'wind_bearing': 90.0,
'wind_speed': 0.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-09T23:00:00+00:00',
'precipitation_probability': 30,
'temperature': 4.0,
'templow': -4.0,
'wind_bearing': 45.0,
'wind_speed': 20.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-10T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': 3.0,
'templow': -7.0,
'wind_bearing': 0.0,
'wind_speed': 5.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-11T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': -1.0,
'templow': -13.0,
'wind_bearing': None,
}),
dict({
'condition': 'sunny',
'datetime': '2021-01-12T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': 6.0,
'templow': -11.0,
'wind_bearing': None,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-13T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': 6.0,
'templow': -7.0,
'wind_bearing': None,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-14T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': 5.0,
'templow': -4.0,
'wind_bearing': None,
}),
]),
})
# ---
# name: test_forecast_service.1
dict({
'forecast': list([
dict({
'condition': 'snowy',
'datetime': '2021-01-09T12:00:00+00:00',
'precipitation': 2.7,
'precipitation_probability': 100,
'temperature': 0.0,
'wind_bearing': 135.0,
'wind_gust_speed': 22.0,
'wind_speed': 15.0,
}),
dict({
'condition': 'rainy',
'datetime': '2021-01-09T13:00:00+00:00',
'precipitation': 0.6,
'precipitation_probability': 100,
'temperature': 0.0,
'wind_bearing': 135.0,
'wind_gust_speed': 24.0,
'wind_speed': 14.0,
}),
dict({
'condition': 'rainy',
'datetime': '2021-01-09T14:00:00+00:00',
'precipitation': 0.8,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 135.0,
'wind_gust_speed': 20.0,
'wind_speed': 10.0,
}),
dict({
'condition': 'snowy',
'datetime': '2021-01-09T15:00:00+00:00',
'precipitation': 1.4,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 135.0,
'wind_gust_speed': 14.0,
'wind_speed': 8.0,
}),
dict({
'condition': 'snowy',
'datetime': '2021-01-09T16:00:00+00:00',
'precipitation': 1.2,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 135.0,
'wind_gust_speed': 13.0,
'wind_speed': 9.0,
}),
dict({
'condition': 'snowy',
'datetime': '2021-01-09T17:00:00+00:00',
'precipitation': 0.4,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 90.0,
'wind_gust_speed': 13.0,
'wind_speed': 7.0,
}),
dict({
'condition': 'rainy',
'datetime': '2021-01-09T18:00:00+00:00',
'precipitation': 0.3,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 135.0,
'wind_gust_speed': 12.0,
'wind_speed': 8.0,
}),
dict({
'condition': 'rainy',
'datetime': '2021-01-09T19:00:00+00:00',
'precipitation': 0.1,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 135.0,
'wind_gust_speed': 12.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-09T20:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 90.0,
'wind_gust_speed': 8.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-09T21:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 9.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-09T22:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 90.0,
'wind_gust_speed': 11.0,
'wind_speed': 8.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-09T23:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 12.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'fog',
'datetime': '2021-01-10T00:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': 0.0,
'wind_bearing': 45.0,
'wind_gust_speed': 10.0,
'wind_speed': 5.0,
}),
dict({
'condition': 'fog',
'datetime': '2021-01-10T01:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': 0.0,
'wind_bearing': 0.0,
'wind_gust_speed': 11.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'fog',
'datetime': '2021-01-10T02:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': 0.0,
'wind_bearing': 0.0,
'wind_gust_speed': 9.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T03:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': -1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 12.0,
'wind_speed': 8.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T04:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': -1.0,
'wind_bearing': 0.0,
'wind_gust_speed': 11.0,
'wind_speed': 5.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T05:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': -1.0,
'wind_bearing': 0.0,
'wind_gust_speed': 13.0,
'wind_speed': 9.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T06:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': -2.0,
'wind_bearing': 45.0,
'wind_gust_speed': 18.0,
'wind_speed': 13.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T07:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': -1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 25.0,
'wind_speed': 17.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T08:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': -1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 31.0,
'wind_speed': 21.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-10T09:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': 0.0,
'wind_bearing': 45.0,
'wind_gust_speed': 32.0,
'wind_speed': 21.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-10T10:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': 2.0,
'wind_bearing': 45.0,
'wind_gust_speed': 30.0,
'wind_speed': 21.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T11:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 3.0,
'wind_bearing': 45.0,
'wind_gust_speed': 32.0,
'wind_speed': 22.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T12:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 3.0,
'wind_bearing': 45.0,
'wind_gust_speed': 32.0,
'wind_speed': 20.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T13:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 3.0,
'wind_bearing': 45.0,
'wind_gust_speed': 30.0,
'wind_speed': 19.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T14:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 4.0,
'wind_bearing': 45.0,
'wind_gust_speed': 28.0,
'wind_speed': 17.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T15:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 3.0,
'wind_bearing': 45.0,
'wind_gust_speed': 25.0,
'wind_speed': 16.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T16:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 2.0,
'wind_bearing': 45.0,
'wind_gust_speed': 24.0,
'wind_speed': 16.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-10T17:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 24.0,
'wind_speed': 17.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-10T18:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 25.0,
'wind_speed': 17.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T19:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 25.0,
'wind_speed': 16.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T20:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 24.0,
'wind_speed': 17.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T21:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 0.0,
'wind_bearing': 45.0,
'wind_gust_speed': 27.0,
'wind_speed': 19.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T22:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 0.0,
'wind_bearing': 45.0,
'wind_gust_speed': 30.0,
'wind_speed': 21.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T23:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 30.0,
'wind_speed': 19.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-11T00:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 27.0,
'wind_speed': 16.0,
}),
dict({
'condition': 'clear-night',
'datetime': '2021-01-11T01:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -2.0,
'wind_bearing': 45.0,
'wind_gust_speed': 22.0,
'wind_speed': 12.0,
}),
dict({
'condition': 'clear-night',
'datetime': '2021-01-11T02:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -2.0,
'wind_bearing': 45.0,
'wind_gust_speed': 17.0,
'wind_speed': 10.0,
}),
dict({
'condition': 'clear-night',
'datetime': '2021-01-11T03:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -3.0,
'wind_bearing': 45.0,
'wind_gust_speed': 15.0,
'wind_speed': 11.0,
}),
dict({
'condition': 'clear-night',
'datetime': '2021-01-11T04:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -4.0,
'wind_bearing': 45.0,
'wind_gust_speed': 15.0,
'wind_speed': 10.0,
}),
dict({
'condition': 'clear-night',
'datetime': '2021-01-11T05:00:00+00:00',
'precipitation_probability': None,
'temperature': -4.0,
'wind_bearing': 0.0,
'wind_gust_speed': 15.0,
'wind_speed': 10.0,
}),
]),
})
# ---
# name: test_forecast_service[forecast]
dict({
'weather.aemet': dict({
'forecast': list([
dict({
'condition': 'snowy',
'datetime': '2021-01-08T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': 2.0,
'templow': -1.0,
'wind_bearing': 90.0,
'wind_speed': 0.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-09T23:00:00+00:00',
'precipitation_probability': 30,
'temperature': 4.0,
'templow': -4.0,
'wind_bearing': 45.0,
'wind_speed': 20.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-10T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': 3.0,
'templow': -7.0,
'wind_bearing': 0.0,
'wind_speed': 5.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-11T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': -1.0,
'templow': -13.0,
'wind_bearing': None,
}),
dict({
'condition': 'sunny',
'datetime': '2021-01-12T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': 6.0,
'templow': -11.0,
'wind_bearing': None,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-13T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': 6.0,
'templow': -7.0,
'wind_bearing': None,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-14T23:00:00+00:00',
'precipitation_probability': 0,
'temperature': 5.0,
'templow': -4.0,
'wind_bearing': None,
}),
]),
}),
})
# ---
# name: test_forecast_service[forecast].1
dict({
'weather.aemet': dict({
'forecast': list([
dict({
'condition': 'snowy',
'datetime': '2021-01-09T12:00:00+00:00',
'precipitation': 2.7,
'precipitation_probability': 100,
'temperature': 0.0,
'wind_bearing': 135.0,
'wind_gust_speed': 22.0,
'wind_speed': 15.0,
}),
dict({
'condition': 'rainy',
'datetime': '2021-01-09T13:00:00+00:00',
'precipitation': 0.6,
'precipitation_probability': 100,
'temperature': 0.0,
'wind_bearing': 135.0,
'wind_gust_speed': 24.0,
'wind_speed': 14.0,
}),
dict({
'condition': 'rainy',
'datetime': '2021-01-09T14:00:00+00:00',
'precipitation': 0.8,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 135.0,
'wind_gust_speed': 20.0,
'wind_speed': 10.0,
}),
dict({
'condition': 'snowy',
'datetime': '2021-01-09T15:00:00+00:00',
'precipitation': 1.4,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 135.0,
'wind_gust_speed': 14.0,
'wind_speed': 8.0,
}),
dict({
'condition': 'snowy',
'datetime': '2021-01-09T16:00:00+00:00',
'precipitation': 1.2,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 135.0,
'wind_gust_speed': 13.0,
'wind_speed': 9.0,
}),
dict({
'condition': 'snowy',
'datetime': '2021-01-09T17:00:00+00:00',
'precipitation': 0.4,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 90.0,
'wind_gust_speed': 13.0,
'wind_speed': 7.0,
}),
dict({
'condition': 'rainy',
'datetime': '2021-01-09T18:00:00+00:00',
'precipitation': 0.3,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 135.0,
'wind_gust_speed': 12.0,
'wind_speed': 8.0,
}),
dict({
'condition': 'rainy',
'datetime': '2021-01-09T19:00:00+00:00',
'precipitation': 0.1,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 135.0,
'wind_gust_speed': 12.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-09T20:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 90.0,
'wind_gust_speed': 8.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-09T21:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 9.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-09T22:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 100,
'temperature': 1.0,
'wind_bearing': 90.0,
'wind_gust_speed': 11.0,
'wind_speed': 8.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-09T23:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 12.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'fog',
'datetime': '2021-01-10T00:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': 0.0,
'wind_bearing': 45.0,
'wind_gust_speed': 10.0,
'wind_speed': 5.0,
}),
dict({
'condition': 'fog',
'datetime': '2021-01-10T01:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': 0.0,
'wind_bearing': 0.0,
'wind_gust_speed': 11.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'fog',
'datetime': '2021-01-10T02:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': 0.0,
'wind_bearing': 0.0,
'wind_gust_speed': 9.0,
'wind_speed': 6.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T03:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': -1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 12.0,
'wind_speed': 8.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T04:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 10,
'temperature': -1.0,
'wind_bearing': 0.0,
'wind_gust_speed': 11.0,
'wind_speed': 5.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T05:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': -1.0,
'wind_bearing': 0.0,
'wind_gust_speed': 13.0,
'wind_speed': 9.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T06:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': -2.0,
'wind_bearing': 45.0,
'wind_gust_speed': 18.0,
'wind_speed': 13.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T07:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': -1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 25.0,
'wind_speed': 17.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T08:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': -1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 31.0,
'wind_speed': 21.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-10T09:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': 0.0,
'wind_bearing': 45.0,
'wind_gust_speed': 32.0,
'wind_speed': 21.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-10T10:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 15,
'temperature': 2.0,
'wind_bearing': 45.0,
'wind_gust_speed': 30.0,
'wind_speed': 21.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T11:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 3.0,
'wind_bearing': 45.0,
'wind_gust_speed': 32.0,
'wind_speed': 22.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T12:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 3.0,
'wind_bearing': 45.0,
'wind_gust_speed': 32.0,
'wind_speed': 20.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T13:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 3.0,
'wind_bearing': 45.0,
'wind_gust_speed': 30.0,
'wind_speed': 19.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T14:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 4.0,
'wind_bearing': 45.0,
'wind_gust_speed': 28.0,
'wind_speed': 17.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T15:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 3.0,
'wind_bearing': 45.0,
'wind_gust_speed': 25.0,
'wind_speed': 16.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T16:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 5,
'temperature': 2.0,
'wind_bearing': 45.0,
'wind_gust_speed': 24.0,
'wind_speed': 16.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-10T17:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 24.0,
'wind_speed': 17.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-10T18:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 25.0,
'wind_speed': 17.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T19:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 25.0,
'wind_speed': 16.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T20:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 24.0,
'wind_speed': 17.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T21:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 0.0,
'wind_bearing': 45.0,
'wind_gust_speed': 27.0,
'wind_speed': 19.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T22:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': 0.0,
'wind_bearing': 45.0,
'wind_gust_speed': 30.0,
'wind_speed': 21.0,
}),
dict({
'condition': 'cloudy',
'datetime': '2021-01-10T23:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 30.0,
'wind_speed': 19.0,
}),
dict({
'condition': 'partlycloudy',
'datetime': '2021-01-11T00:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -1.0,
'wind_bearing': 45.0,
'wind_gust_speed': 27.0,
'wind_speed': 16.0,
}),
dict({
'condition': 'clear-night',
'datetime': '2021-01-11T01:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -2.0,
'wind_bearing': 45.0,
'wind_gust_speed': 22.0,
'wind_speed': 12.0,
}),
dict({
'condition': 'clear-night',
'datetime': '2021-01-11T02:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -2.0,
'wind_bearing': 45.0,
'wind_gust_speed': 17.0,
'wind_speed': 10.0,
}),
dict({
'condition': 'clear-night',
'datetime': '2021-01-11T03:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -3.0,
'wind_bearing': 45.0,
'wind_gust_speed': 15.0,
'wind_speed': 11.0,
}),
dict({
'condition': 'clear-night',
'datetime': '2021-01-11T04:00:00+00:00',
'precipitation': 0.0,
'precipitation_probability': 0,
'temperature': -4.0,
'wind_bearing': 45.0,
'wind_gust_speed': 15.0,
'wind_speed': 10.0,
}),
dict({
'condition': 'clear-night',
'datetime': '2021-01-11T05:00:00+00:00',
'precipitation_probability': None,
'temperature': -4.0,
'wind_bearing': 0.0,
'wind_gust_speed': 15.0,
'wind_speed': 10.0,
}),
]),
}),
})
# ---
# name: test_forecast_service[get_forecast]
dict({
'forecast': list([

View File

@ -209,317 +209,6 @@
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
})
# ---
# name: test_sensors[entry_test-serial-number_air_quality_index]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.test_sensor_air_quality_index',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.AQI: 'aqi'>,
'original_icon': None,
'original_name': 'Air quality index',
'platform': 'arve',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'test-serial-number_AQI',
'unit_of_measurement': None,
})
# ---
# name: test_sensors[entry_test-serial-number_carbon_dioxide]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.test_sensor_carbon_dioxide',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.CO2: 'carbon_dioxide'>,
'original_icon': None,
'original_name': 'Carbon dioxide',
'platform': 'arve',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'test-serial-number_CO2',
'unit_of_measurement': 'ppm',
})
# ---
# name: test_sensors[entry_test-serial-number_humidity]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.test_sensor_humidity',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.HUMIDITY: 'humidity'>,
'original_icon': None,
'original_name': 'Humidity',
'platform': 'arve',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'test-serial-number_Humidity',
'unit_of_measurement': '%',
})
# ---
# name: test_sensors[entry_test-serial-number_none]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.my_arve_none',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'TVOC',
'platform': 'arve',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'tvoc',
'unique_id': 'test-serial-number_tvoc',
'unit_of_measurement': None,
})
# ---
# name: test_sensors[entry_test-serial-number_pm10]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.test_sensor_pm10',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.PM10: 'pm10'>,
'original_icon': None,
'original_name': 'PM10',
'platform': 'arve',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'test-serial-number_PM10',
'unit_of_measurement': 'µg/m³',
})
# ---
# name: test_sensors[entry_test-serial-number_pm2_5]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.test_sensor_pm2_5',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.PM25: 'pm25'>,
'original_icon': None,
'original_name': 'PM2.5',
'platform': 'arve',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'test-serial-number_PM25',
'unit_of_measurement': 'µg/m³',
})
# ---
# name: test_sensors[entry_test-serial-number_temperature]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.test_sensor_temperature',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.TEMPERATURE: 'temperature'>,
'original_icon': None,
'original_name': 'Temperature',
'platform': 'arve',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'test-serial-number_Temperature',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
})
# ---
# name: test_sensors[entry_test-serial-number_total_volatile_organic_compounds]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.test_sensor_total_volatile_organic_compounds',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Total volatile organic compounds',
'platform': 'arve',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'tvoc',
'unique_id': 'test-serial-number_TVOC',
'unit_of_measurement': None,
})
# ---
# name: test_sensors[entry_test-serial-number_tvoc]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.my_arve_tvoc',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'TVOC',
'platform': 'arve',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'tvoc',
'unique_id': 'test-serial-number_tvoc',
'unit_of_measurement': None,
})
# ---
# name: test_sensors[entry_total_volatile_organic_compounds]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -555,113 +244,6 @@
'unit_of_measurement': None,
})
# ---
# name: test_sensors[my_arve_air_quality_index]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'aqi',
'friendly_name': 'My Arve AQI',
}),
'context': <ANY>,
'entity_id': 'sensor.my_arve_air_quality_index',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': "<AsyncMock name='Arve().device_sensor_data().aqi' id='4673889600'>",
})
# ---
# name: test_sensors[my_arve_carbon_dioxide]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'carbon_dioxide',
'friendly_name': 'My Arve CO2',
'unit_of_measurement': 'ppm',
}),
'context': <ANY>,
'entity_id': 'sensor.my_arve_carbon_dioxide',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': "<AsyncMock name='Arve().device_sensor_data().co2' id='4683517632'>",
})
# ---
# name: test_sensors[my_arve_humidity]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'humidity',
'friendly_name': 'My Arve Humidity',
'unit_of_measurement': '%',
}),
'context': <ANY>,
'entity_id': 'sensor.my_arve_humidity',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': "<AsyncMock name='Arve().device_sensor_data().humidity' id='4674090384'>",
})
# ---
# name: test_sensors[my_arve_none]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'My Arve TVOC',
}),
'context': <ANY>,
'entity_id': 'sensor.my_arve_none',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': "<AsyncMock name='Arve().device_sensor_data().tvoc' id='4430967152'>",
})
# ---
# name: test_sensors[my_arve_pm10]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'pm10',
'friendly_name': 'My Arve PM10',
'unit_of_measurement': 'µg/m³',
}),
'context': <ANY>,
'entity_id': 'sensor.my_arve_pm10',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': "<AsyncMock name='Arve().device_sensor_data().pm10' id='4683800288'>",
})
# ---
# name: test_sensors[my_arve_pm2_5]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'pm25',
'friendly_name': 'My Arve PM25',
'unit_of_measurement': 'µg/m³',
}),
'context': <ANY>,
'entity_id': 'sensor.my_arve_pm2_5',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': "<AsyncMock name='Arve().device_sensor_data().pm25' id='4683861792'>",
})
# ---
# name: test_sensors[my_arve_temperature]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'temperature',
'friendly_name': 'My Arve Temperature',
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
'context': <ANY>,
'entity_id': 'sensor.my_arve_temperature',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': "<AsyncMock name='Arve().device_sensor_data().temperature' id='4683873744'>",
})
# ---
# name: test_sensors[my_arve_tvoc]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'My Arve TVOC',
}),
'context': <ANY>,
'entity_id': 'sensor.my_arve_tvoc',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': "<AsyncMock name='Arve().device_sensor_data().tvoc' id='4683902432'>",
})
# ---
# name: test_sensors[test_sensor_air_quality_index]
StateSnapshot({
'attributes': ReadOnlyDict({

View File

@ -254,105 +254,6 @@
# name: test_audio_pipeline_with_enhancements.7
None
# ---
# name: test_audio_pipeline_with_wake_word
dict({
'language': 'en',
'pipeline': <ANY>,
'runner_data': dict({
'stt_binary_handler_id': 1,
'timeout': 30,
}),
})
# ---
# name: test_audio_pipeline_with_wake_word.1
dict({
'entity_id': 'wake_word.test',
'metadata': dict({
'bit_rate': 16,
'channel': 1,
'codec': 'pcm',
'format': 'wav',
'sample_rate': 16000,
}),
})
# ---
# name: test_audio_pipeline_with_wake_word.2
dict({
'wake_word_output': dict({
'queued_audio': None,
'timestamp': 1000,
'wake_word_id': 'test_ww',
}),
})
# ---
# name: test_audio_pipeline_with_wake_word.3
dict({
'engine': 'test',
'metadata': dict({
'bit_rate': 16,
'channel': 1,
'codec': 'pcm',
'format': 'wav',
'language': 'en-US',
'sample_rate': 16000,
}),
})
# ---
# name: test_audio_pipeline_with_wake_word.4
dict({
'stt_output': dict({
'text': 'test transcript',
}),
})
# ---
# name: test_audio_pipeline_with_wake_word.5
dict({
'conversation_id': None,
'device_id': None,
'engine': 'homeassistant',
'intent_input': 'test transcript',
'language': 'en',
})
# ---
# name: test_audio_pipeline_with_wake_word.6
dict({
'intent_output': dict({
'conversation_id': None,
'response': dict({
'card': dict({
}),
'data': dict({
'code': 'no_intent_match',
}),
'language': 'en',
'response_type': 'error',
'speech': dict({
'plain': dict({
'extra_data': None,
'speech': "Sorry, I couldn't understand that",
}),
}),
}),
}),
})
# ---
# name: test_audio_pipeline_with_wake_word.7
dict({
'engine': 'test',
'language': 'en-US',
'tts_input': "Sorry, I couldn't understand that",
'voice': 'james_earl_jones',
})
# ---
# name: test_audio_pipeline_with_wake_word.8
dict({
'tts_output': dict({
'media_id': "media-source://tts/test?message=Sorry,+I+couldn't+understand+that&language=en-US&voice=james_earl_jones",
'mime_type': 'audio/mpeg',
'url': '/api/tts_proxy/dae2cdcb27a1d1c3b07ba2c7db91480f9d4bfd8f_en-us_031e2ec052_test.mp3',
}),
})
# ---
# name: test_audio_pipeline_with_wake_word_no_timeout
dict({
'language': 'en',
@ -736,29 +637,6 @@
}),
})
# ---
# name: test_stt_provider_missing
dict({
'language': 'en',
'pipeline': 'en',
'runner_data': dict({
'stt_binary_handler_id': 1,
'timeout': 30,
}),
})
# ---
# name: test_stt_provider_missing.1
dict({
'engine': 'default',
'metadata': dict({
'bit_rate': 16,
'channel': 1,
'codec': 'pcm',
'format': 'wav',
'language': 'en',
'sample_rate': 16000,
}),
})
# ---
# name: test_stt_stream_failed
dict({
'language': 'en',
@ -856,66 +734,6 @@
# name: test_tts_failed.2
None
# ---
# name: test_wake_word_cooldown
dict({
'language': 'en',
'pipeline': <ANY>,
'runner_data': dict({
'stt_binary_handler_id': 1,
'timeout': 300,
}),
})
# ---
# name: test_wake_word_cooldown.1
dict({
'language': 'en',
'pipeline': <ANY>,
'runner_data': dict({
'stt_binary_handler_id': 1,
'timeout': 300,
}),
})
# ---
# name: test_wake_word_cooldown.2
dict({
'entity_id': 'wake_word.test',
'metadata': dict({
'bit_rate': 16,
'channel': 1,
'codec': 'pcm',
'format': 'wav',
'sample_rate': 16000,
}),
'timeout': 3,
})
# ---
# name: test_wake_word_cooldown.3
dict({
'entity_id': 'wake_word.test',
'metadata': dict({
'bit_rate': 16,
'channel': 1,
'codec': 'pcm',
'format': 'wav',
'sample_rate': 16000,
}),
'timeout': 3,
})
# ---
# name: test_wake_word_cooldown.4
dict({
'wake_word_output': dict({
'timestamp': 0,
'wake_word_id': 'test_ww',
}),
})
# ---
# name: test_wake_word_cooldown.5
dict({
'code': 'wake_word_detection_aborted',
'message': '',
})
# ---
# name: test_wake_word_cooldown_different_entities
dict({
'language': 'en',

View File

@ -1,10 +0,0 @@
# serializer version: 1
# name: test_issue_outdated_haos
IssueRegistryItemSnapshot({
'created': <ANY>,
'dismissed_version': None,
'domain': 'bluetooth',
'is_persistent': False,
'issue_id': 'haos_outdated',
})
# ---

View File

@ -117,12 +117,6 @@
'name': 'Home Assistant',
})
# ---
# name: test_get_agent_info.3
dict({
'id': 'mock-entry',
'name': 'test',
})
# ---
# name: test_get_agent_list
dict({
'agents': list([
@ -1515,30 +1509,6 @@
}),
})
# ---
# name: test_ws_get_agent_info
dict({
'attribution': None,
})
# ---
# name: test_ws_get_agent_info.1
dict({
'attribution': None,
})
# ---
# name: test_ws_get_agent_info.2
dict({
'attribution': dict({
'name': 'Mock assistant',
'url': 'https://assist.me',
}),
})
# ---
# name: test_ws_get_agent_info.3
dict({
'code': 'invalid_format',
'message': "invalid agent ID for dictionary value @ data['agent_id']. Got 'not_exist'",
})
# ---
# name: test_ws_hass_agent_debug
dict({
'results': list([
@ -1664,15 +1634,6 @@
]),
})
# ---
# name: test_ws_hass_agent_debug.1
dict({
'name': dict({
'name': 'name',
'text': 'my cool light',
'value': 'my cool light',
}),
})
# ---
# name: test_ws_hass_agent_debug_custom_sentence
dict({
'results': list([

File diff suppressed because it is too large Load Diff

View File

@ -1,461 +1,4 @@
# serializer version: 1
# name: test_energy_today
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by EnergyZero',
'friendly_name': 'Energy market price Current hour',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '€/kWh',
}),
'context': <ANY>,
'entity_id': 'sensor.energyzero_today_energy_current_hour_price',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': '0.49',
})
# ---
# name: test_energy_today.1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.energyzero_today_energy_current_hour_price',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Current hour',
'platform': 'energyzero',
'supported_features': 0,
'translation_key': 'current_hour_price',
'unit_of_measurement': '€/kWh',
})
# ---
# name: test_energy_today.2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': <DeviceEntryType.SERVICE: 'service'>,
'hw_version': None,
'id': <ANY>,
'is_new': False,
'manufacturer': 'EnergyZero',
'model': None,
'name': 'Energy market price',
'name_by_user': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_average_price-today_energy_average_price-]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by EnergyZero',
'friendly_name': 'Energy market price Average - today',
'unit_of_measurement': '€/kWh',
}),
'context': <ANY>,
'entity_id': 'sensor.energyzero_today_energy_average_price',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': '0.37',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_average_price-today_energy_average_price-].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.energyzero_today_energy_average_price',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Average - today',
'platform': 'energyzero',
'supported_features': 0,
'translation_key': 'average_price',
'unit_of_measurement': '€/kWh',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_average_price-today_energy_average_price-].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': <DeviceEntryType.SERVICE: 'service'>,
'hw_version': None,
'id': <ANY>,
'is_new': False,
'manufacturer': 'EnergyZero',
'model': None,
'name': 'Energy market price',
'name_by_user': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_average_price-today_energy_average_price-today_energy]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by EnergyZero',
'friendly_name': 'Energy market price Average - today',
'unit_of_measurement': '€/kWh',
}),
'context': <ANY>,
'entity_id': 'sensor.energyzero_today_energy_average_price',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': '0.37',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_average_price-today_energy_average_price-today_energy].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.energyzero_today_energy_average_price',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Average - today',
'platform': 'energyzero',
'supported_features': 0,
'translation_key': 'current_hour_price',
'unit_of_measurement': '€/kWh',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_average_price-today_energy_average_price-today_energy].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': <DeviceEntryType.SERVICE: 'service'>,
'hw_version': None,
'id': <ANY>,
'is_new': False,
'manufacturer': 'EnergyZero',
'model': None,
'name': 'Energy market price',
'name_by_user': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_current_hour_price-today_energy_current_hour_price-]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by EnergyZero',
'friendly_name': 'Energy market price Current hour',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '€/kWh',
}),
'context': <ANY>,
'entity_id': 'sensor.energyzero_today_energy_current_hour_price',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': '0.49',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_current_hour_price-today_energy_current_hour_price-].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.energyzero_today_energy_current_hour_price',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Current hour',
'platform': 'energyzero',
'supported_features': 0,
'translation_key': 'current_hour_price',
'unit_of_measurement': '€/kWh',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_current_hour_price-today_energy_current_hour_price-].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': <DeviceEntryType.SERVICE: 'service'>,
'hw_version': None,
'id': <ANY>,
'is_new': False,
'manufacturer': 'EnergyZero',
'model': None,
'name': 'Energy market price',
'name_by_user': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_current_hour_price-today_energy_current_hour_price-today_energy]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by EnergyZero',
'friendly_name': 'Energy market price Current hour',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '€/kWh',
}),
'context': <ANY>,
'entity_id': 'sensor.energyzero_today_energy_current_hour_price',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': '0.49',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_current_hour_price-today_energy_current_hour_price-today_energy].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.energyzero_today_energy_current_hour_price',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Current hour',
'platform': 'energyzero',
'supported_features': 0,
'translation_key': 'average_price',
'unit_of_measurement': '€/kWh',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_current_hour_price-today_energy_current_hour_price-today_energy].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': <DeviceEntryType.SERVICE: 'service'>,
'hw_version': None,
'id': <ANY>,
'is_new': False,
'manufacturer': 'EnergyZero',
'model': None,
'name': 'Energy market price',
'name_by_user': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_highest_price_time-today_energy_highest_price_time-today_energy]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by EnergyZero',
'device_class': 'timestamp',
'friendly_name': 'Energy market price Time of highest price - today',
}),
'context': <ANY>,
'entity_id': 'sensor.energyzero_today_energy_highest_price_time',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': '2022-12-07T16:00:00+00:00',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_highest_price_time-today_energy_highest_price_time-today_energy].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.energyzero_today_energy_highest_price_time',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.TIMESTAMP: 'timestamp'>,
'original_icon': None,
'original_name': 'Time of highest price - today',
'platform': 'energyzero',
'supported_features': 0,
'translation_key': 'highest_price_time',
'unit_of_measurement': None,
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_highest_price_time-today_energy_highest_price_time-today_energy].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': <DeviceEntryType.SERVICE: 'service'>,
'hw_version': None,
'id': <ANY>,
'is_new': False,
'manufacturer': 'EnergyZero',
'model': None,
'name': 'Energy market price',
'name_by_user': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_max_price-today_energy_max_price-today_energy]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by EnergyZero',
'friendly_name': 'Energy market price Highest price - today',
'unit_of_measurement': '€/kWh',
}),
'context': <ANY>,
'entity_id': 'sensor.energyzero_today_energy_max_price',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': '0.55',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_max_price-today_energy_max_price-today_energy].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.energyzero_today_energy_max_price',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Highest price - today',
'platform': 'energyzero',
'supported_features': 0,
'translation_key': 'max_price',
'unit_of_measurement': '€/kWh',
})
# ---
# name: test_energy_today[sensor.energyzero_today_energy_max_price-today_energy_max_price-today_energy].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': <DeviceEntryType.SERVICE: 'service'>,
'hw_version': None,
'id': <ANY>,
'is_new': False,
'manufacturer': 'EnergyZero',
'model': None,
'name': 'Energy market price',
'name_by_user': None,
'suggested_area': None,
'sw_version': None,
'via_device_id': None,
})
# ---
# name: test_sensor[sensor.energyzero_today_energy_average_price-today_energy_average_price-today_energy]
StateSnapshot({
'attributes': ReadOnlyDict({

View File

@ -3767,9 +3767,6 @@
# name: test_sensor[sensor.envoy_1234_metering_status_net_consumption_ct_l3-state]
None
# ---
# name: test_sensor[sensor.envoy_1234_metering_status_priduction_ct-state]
None
# ---
# name: test_sensor[sensor.envoy_1234_metering_status_production_ct-state]
None
# ---

View File

@ -1,10 +1,4 @@
# serializer version: 1
# name: test_image[fc_data0]
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x94\x00\x00\x00\x94\x01\x00\x00\x00\x00]G=y\x00\x00\x00\xf5IDATx\xda\xedVQ\x0eC!\x0c"\xbb@\xef\x7fKn\xe0\x00\xfd\xdb\xcf6\xf9|\xc6\xc4\xc6\x0f\xd2\x02\xadb},\xe2\xb9\xfb\xe5\x0e\xc0(\x18\xf2\x84/|\xaeo\xef\x847\xda\x14\x1af\x1c\xde\xe3\x19(X\tKxN\xb2\x87\x17j9\x1d<m\x01)\xbbU\xe1\xcf\xa2\x9eU\xd1\xd7\xcbe.\xcc\xf6\xd05\x7f\x02\x82\x1d\xb8\x1c\xdd\xd7\x1b\xef\t\x90\x13an\xf1b\x13P\xb9\x01\xac\xd4k\xee\x04\xa5.\xd1.\xe8+\x90\x88\x1b\x0e\x0b\xfe\x03\xd3 \xd4Y\xe0\xef\x10\xa7z\xe3\xe9F\x7f(?;\xc6\x80\x95\xfc\xe2\x13\x1ddC\x0fZ\x07\xec6f\xc3/.\x94i\xddi\xf8\x8f\x9b9k<\x8d\xf9\xeci`\xfb\xed\xf1R\x99/g\x9e\xaei\xcc\x830\xb7\xf6\x83\xd4\xf1_\x9e\x0f\xf7.*\xf3\xc0\xf6\x1b\x86\xbf\x12\xde\xac\xed\x16\xb0\xf4\xbe\x9dO\x02\xd0\xe1\x8f\xee^\x0f|v\xf4\x15 \x13\xaf\x8e\xff\x9e\x7f\xe2\x9fwo\x06\xf4\x81v\xeb\xb3\xcc\xc3\x00\x00\x00\x00IEND\xaeB`\x82'
# ---
# name: test_image_download[fc_data0]
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x94\x00\x00\x00\x94\x01\x00\x00\x00\x00]G=y\x00\x00\x00\xf5IDATx\xda\xedVQ\x0eC!\x0c"\xbb@\xef\x7fKn\xe0\x00\xfd\xdb\xcf6\xf9|\xc6\xc4\xc6\x0f\xd2\x02\xadb},\xe2\xb9\xfb\xe5\x0e\xc0(\x18\xf2\x84/|\xaeo\xef\x847\xda\x14\x1af\x1c\xde\xe3\x19(X\tKxN\xb2\x87\x17j9\x1d<m\x01)\xbbU\xe1\xcf\xa2\x9eU\xd1\xd7\xcbe.\xcc\xf6\xd05\x7f\x02\x82\x1d\xb8\x1c\xdd\xd7\x1b\xef\t\x90\x13an\xf1b\x13P\xb9\x01\xac\xd4k\xee\x04\xa5.\xd1.\xe8+\x90\x88\x1b\x0e\x0b\xfe\x03\xd3 \xd4Y\xe0\xef\x10\xa7z\xe3\xe9F\x7f(?;\xc6\x80\x95\xfc\xe2\x13\x1ddC\x0fZ\x07\xec6f\xc3/.\x94i\xddi\xf8\x8f\x9b9k<\x8d\xf9\xeci`\xfb\xed\xf1R\x99/g\x9e\xaei\xcc\x830\xb7\xf6\x83\xd4\xf1_\x9e\x0f\xf7.*\xf3\xc0\xf6\x1b\x86\xbf\x12\xde\xac\xed\x16\xb0\xf4\xbe\x9dO\x02\xd0\xe1\x8f\xee^\x0f|v\xf4\x15 \x13\xaf\x8e\xff\x9e\x7f\xe2\x9fwo\x06\xf4\x81v\xeb\xb3\xcc\xc3\x00\x00\x00\x00IEND\xaeB`\x82'
# ---
# name: test_image_entity[fc_data0]
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x94\x00\x00\x00\x94\x01\x00\x00\x00\x00]G=y\x00\x00\x00\xf5IDATx\xda\xedVQ\x0eC!\x0c"\xbb@\xef\x7fKn\xe0\x00\xfd\xdb\xcf6\xf9|\xc6\xc4\xc6\x0f\xd2\x02\xadb},\xe2\xb9\xfb\xe5\x0e\xc0(\x18\xf2\x84/|\xaeo\xef\x847\xda\x14\x1af\x1c\xde\xe3\x19(X\tKxN\xb2\x87\x17j9\x1d<m\x01)\xbbU\xe1\xcf\xa2\x9eU\xd1\xd7\xcbe.\xcc\xf6\xd05\x7f\x02\x82\x1d\xb8\x1c\xdd\xd7\x1b\xef\t\x90\x13an\xf1b\x13P\xb9\x01\xac\xd4k\xee\x04\xa5.\xd1.\xe8+\x90\x88\x1b\x0e\x0b\xfe\x03\xd3 \xd4Y\xe0\xef\x10\xa7z\xe3\xe9F\x7f(?;\xc6\x80\x95\xfc\xe2\x13\x1ddC\x0fZ\x07\xec6f\xc3/.\x94i\xddi\xf8\x8f\x9b9k<\x8d\xf9\xeci`\xfb\xed\xf1R\x99/g\x9e\xaei\xcc\x830\xb7\xf6\x83\xd4\xf1_\x9e\x0f\xf7.*\xf3\xc0\xf6\x1b\x86\xbf\x12\xde\xac\xed\x16\xb0\xf4\xbe\x9dO\x02\xd0\xe1\x8f\xee^\x0f|v\xf4\x15 \x13\xaf\x8e\xff\x9e\x7f\xe2\x9fwo\x06\xf4\x81v\xeb\xb3\xcc\xc3\x00\x00\x00\x00IEND\xaeB`\x82'
# ---