diff --git a/tests/components/aemet/snapshots/test_weather.ambr b/tests/components/aemet/snapshots/test_weather.ambr index a8660740001..f19f95a6e80 100644 --- a/tests/components/aemet/snapshots/test_weather.ambr +++ b/tests/components/aemet/snapshots/test_weather.ambr @@ -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([ diff --git a/tests/components/arve/snapshots/test_sensor.ambr b/tests/components/arve/snapshots/test_sensor.ambr index 5c5c4c84d08..5c7888c41de 100644 --- a/tests/components/arve/snapshots/test_sensor.ambr +++ b/tests/components/arve/snapshots/test_sensor.ambr @@ -209,317 +209,6 @@ 'unit_of_measurement': , }) # --- -# name: test_sensors[entry_test-serial-number_air_quality_index] - EntityRegistryEntrySnapshot({ - 'aliases': set({ - }), - 'area_id': None, - 'capabilities': dict({ - 'state_class': , - }), - 'config_entry_id': , - 'device_class': None, - 'device_id': , - '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': , - 'labels': set({ - }), - 'name': None, - 'options': dict({ - }), - 'original_device_class': , - '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': , - }), - 'config_entry_id': , - 'device_class': None, - 'device_id': , - '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': , - 'labels': set({ - }), - 'name': None, - 'options': dict({ - }), - 'original_device_class': , - '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': , - }), - 'config_entry_id': , - 'device_class': None, - 'device_id': , - 'disabled_by': None, - 'domain': 'sensor', - 'entity_category': None, - 'entity_id': 'sensor.test_sensor_humidity', - 'has_entity_name': True, - 'hidden_by': None, - 'icon': None, - 'id': , - 'labels': set({ - }), - 'name': None, - 'options': dict({ - }), - 'original_device_class': , - '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': , - 'device_class': None, - 'device_id': , - 'disabled_by': None, - 'domain': 'sensor', - 'entity_category': None, - 'entity_id': 'sensor.my_arve_none', - 'has_entity_name': True, - 'hidden_by': None, - 'icon': None, - 'id': , - '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': , - }), - 'config_entry_id': , - 'device_class': None, - 'device_id': , - 'disabled_by': None, - 'domain': 'sensor', - 'entity_category': None, - 'entity_id': 'sensor.test_sensor_pm10', - 'has_entity_name': True, - 'hidden_by': None, - 'icon': None, - 'id': , - 'labels': set({ - }), - 'name': None, - 'options': dict({ - }), - 'original_device_class': , - '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': , - }), - 'config_entry_id': , - 'device_class': None, - 'device_id': , - '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': , - 'labels': set({ - }), - 'name': None, - 'options': dict({ - }), - 'original_device_class': , - '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': , - }), - 'config_entry_id': , - 'device_class': None, - 'device_id': , - 'disabled_by': None, - 'domain': 'sensor', - 'entity_category': None, - 'entity_id': 'sensor.test_sensor_temperature', - 'has_entity_name': True, - 'hidden_by': None, - 'icon': None, - 'id': , - 'labels': set({ - }), - 'name': None, - 'options': dict({ - }), - 'original_device_class': , - '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': , - }) -# --- -# name: test_sensors[entry_test-serial-number_total_volatile_organic_compounds] - EntityRegistryEntrySnapshot({ - 'aliases': set({ - }), - 'area_id': None, - 'capabilities': dict({ - 'state_class': , - }), - 'config_entry_id': , - 'device_class': None, - 'device_id': , - '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': , - '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': , - 'device_class': None, - 'device_id': , - 'disabled_by': None, - 'domain': 'sensor', - 'entity_category': None, - 'entity_id': 'sensor.my_arve_tvoc', - 'has_entity_name': True, - 'hidden_by': None, - 'icon': None, - 'id': , - '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': , - 'entity_id': 'sensor.my_arve_air_quality_index', - 'last_changed': , - 'last_updated': , - 'state': "", - }) -# --- -# name: test_sensors[my_arve_carbon_dioxide] - StateSnapshot({ - 'attributes': ReadOnlyDict({ - 'device_class': 'carbon_dioxide', - 'friendly_name': 'My Arve CO2', - 'unit_of_measurement': 'ppm', - }), - 'context': , - 'entity_id': 'sensor.my_arve_carbon_dioxide', - 'last_changed': , - 'last_updated': , - 'state': "", - }) -# --- -# name: test_sensors[my_arve_humidity] - StateSnapshot({ - 'attributes': ReadOnlyDict({ - 'device_class': 'humidity', - 'friendly_name': 'My Arve Humidity', - 'unit_of_measurement': '%', - }), - 'context': , - 'entity_id': 'sensor.my_arve_humidity', - 'last_changed': , - 'last_updated': , - 'state': "", - }) -# --- -# name: test_sensors[my_arve_none] - StateSnapshot({ - 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Arve TVOC', - }), - 'context': , - 'entity_id': 'sensor.my_arve_none', - 'last_changed': , - 'last_updated': , - 'state': "", - }) -# --- -# name: test_sensors[my_arve_pm10] - StateSnapshot({ - 'attributes': ReadOnlyDict({ - 'device_class': 'pm10', - 'friendly_name': 'My Arve PM10', - 'unit_of_measurement': 'µg/m³', - }), - 'context': , - 'entity_id': 'sensor.my_arve_pm10', - 'last_changed': , - 'last_updated': , - 'state': "", - }) -# --- -# name: test_sensors[my_arve_pm2_5] - StateSnapshot({ - 'attributes': ReadOnlyDict({ - 'device_class': 'pm25', - 'friendly_name': 'My Arve PM25', - 'unit_of_measurement': 'µg/m³', - }), - 'context': , - 'entity_id': 'sensor.my_arve_pm2_5', - 'last_changed': , - 'last_updated': , - 'state': "", - }) -# --- -# name: test_sensors[my_arve_temperature] - StateSnapshot({ - 'attributes': ReadOnlyDict({ - 'device_class': 'temperature', - 'friendly_name': 'My Arve Temperature', - 'unit_of_measurement': , - }), - 'context': , - 'entity_id': 'sensor.my_arve_temperature', - 'last_changed': , - 'last_updated': , - 'state': "", - }) -# --- -# name: test_sensors[my_arve_tvoc] - StateSnapshot({ - 'attributes': ReadOnlyDict({ - 'friendly_name': 'My Arve TVOC', - }), - 'context': , - 'entity_id': 'sensor.my_arve_tvoc', - 'last_changed': , - 'last_updated': , - 'state': "", - }) -# --- # name: test_sensors[test_sensor_air_quality_index] StateSnapshot({ 'attributes': ReadOnlyDict({ diff --git a/tests/components/assist_pipeline/snapshots/test_websocket.ambr b/tests/components/assist_pipeline/snapshots/test_websocket.ambr index f952e3b7286..2c506215c68 100644 --- a/tests/components/assist_pipeline/snapshots/test_websocket.ambr +++ b/tests/components/assist_pipeline/snapshots/test_websocket.ambr @@ -254,105 +254,6 @@ # name: test_audio_pipeline_with_enhancements.7 None # --- -# name: test_audio_pipeline_with_wake_word - dict({ - 'language': 'en', - 'pipeline': , - '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': , - 'runner_data': dict({ - 'stt_binary_handler_id': 1, - 'timeout': 300, - }), - }) -# --- -# name: test_wake_word_cooldown.1 - dict({ - 'language': 'en', - 'pipeline': , - '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', diff --git a/tests/components/bluetooth/snapshots/test_init.ambr b/tests/components/bluetooth/snapshots/test_init.ambr deleted file mode 100644 index 70a7b7cbb48..00000000000 --- a/tests/components/bluetooth/snapshots/test_init.ambr +++ /dev/null @@ -1,10 +0,0 @@ -# serializer version: 1 -# name: test_issue_outdated_haos - IssueRegistryItemSnapshot({ - 'created': , - 'dismissed_version': None, - 'domain': 'bluetooth', - 'is_persistent': False, - 'issue_id': 'haos_outdated', - }) -# --- diff --git a/tests/components/conversation/snapshots/test_init.ambr b/tests/components/conversation/snapshots/test_init.ambr index d514d145477..6264e61863f 100644 --- a/tests/components/conversation/snapshots/test_init.ambr +++ b/tests/components/conversation/snapshots/test_init.ambr @@ -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([ diff --git a/tests/components/easyenergy/snapshots/test_services.ambr b/tests/components/easyenergy/snapshots/test_services.ambr index 96b1eca5498..3330e5cf03c 100644 --- a/tests/components/easyenergy/snapshots/test_services.ambr +++ b/tests/components/easyenergy/snapshots/test_services.ambr @@ -611,312 +611,6 @@ ]), }) # --- -# name: test_service[end0-start0-incl_vat2-get_energy_return_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.11153, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.10698, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.10497, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.10172, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.10723, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.11462, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.11894, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.1599, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.164, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.17169, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.13635, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.1296, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.15487, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.16049, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.17596, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.18629, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.20394, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.19757, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.17143, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.15, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.14841, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.14934, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end0-start0-incl_vat2-get_energy_usage_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.13495, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.12945, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.12701, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.12308, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.12975, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.13869, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.14392, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.19348, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.19844, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.20774, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.16498, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.15682, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.18739, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.19419, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.21291, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.22541, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.24677, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.23906, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.20743, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.1815, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.17958, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.1807, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end0-start0-incl_vat2-get_gas_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 23:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 00:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 01:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 02:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 03:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 04:00:00+00:00', - }), - ]), - }) -# --- # name: test_service[end0-start1-incl_vat0-get_energy_return_prices] dict({ 'prices': list([ @@ -1529,933 +1223,6 @@ ]), }) # --- -# name: test_service[end0-start1-incl_vat2-get_energy_return_prices] - ServiceValidationError() -# --- -# name: test_service[end0-start1-incl_vat2-get_energy_usage_prices] - ServiceValidationError() -# --- -# name: test_service[end0-start1-incl_vat2-get_gas_prices] - ServiceValidationError() -# --- -# name: test_service[end0-start2-incl_vat0-get_energy_return_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.11153, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.10698, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.10497, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.10172, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.10723, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.11462, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.11894, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.1599, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.164, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.17169, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.13635, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.1296, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.15487, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.16049, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.17596, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.18629, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.20394, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.19757, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.17143, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.15, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.14841, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.14934, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end0-start2-incl_vat0-get_energy_usage_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.13495, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.12945, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.12701, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.12308, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.12975, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.13869, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.14392, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.19348, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.19844, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.20774, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.16498, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.15682, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.18739, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.19419, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.21291, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.22541, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.24677, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.23906, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.20743, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.1815, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.17958, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.1807, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end0-start2-incl_vat0-get_gas_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 23:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 00:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 01:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 02:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 03:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 04:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end0-start2-incl_vat1-get_energy_return_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.11153, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.10698, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.10497, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.10172, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.10723, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.11462, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.11894, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.1599, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.164, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.17169, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.13635, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.1296, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.15487, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.16049, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.17596, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.18629, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.20394, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.19757, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.17143, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.15, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.14841, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.14934, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end0-start2-incl_vat1-get_energy_usage_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.13495, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.12945, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.12701, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.12308, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.12975, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.13869, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.14392, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.19348, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.19844, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.20774, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.16498, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.15682, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.18739, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.19419, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.21291, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.22541, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.24677, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.23906, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.20743, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.1815, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.17958, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.1807, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end0-start2-incl_vat1-get_gas_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 23:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 00:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 01:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 02:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 03:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 04:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end0-start2-incl_vat2-get_energy_return_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.11153, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.10698, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.10497, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.10172, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.10723, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.11462, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.11894, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.1599, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.164, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.17169, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.13635, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.1296, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.15487, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.16049, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.17596, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.18629, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.20394, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.19757, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.17143, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.15, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.14841, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.14934, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end0-start2-incl_vat2-get_energy_usage_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.13495, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.12945, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.12701, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.12308, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.12975, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.13869, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.14392, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.19348, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.19844, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.20774, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.16498, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.15682, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.18739, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.19419, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.21291, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.22541, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.24677, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.23906, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.20743, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.1815, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.17958, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.1807, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end0-start2-incl_vat2-get_gas_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 23:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 00:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 01:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 02:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 03:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 04:00:00+00:00', - }), - ]), - }) -# --- # name: test_service[end1-start0-incl_vat0-get_energy_return_prices] dict({ 'prices': list([ @@ -3068,15 +1835,6 @@ ]), }) # --- -# name: test_service[end1-start0-incl_vat2-get_energy_return_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start0-incl_vat2-get_energy_usage_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start0-incl_vat2-get_gas_prices] - ServiceValidationError() -# --- # name: test_service[end1-start1-incl_vat0-get_energy_return_prices] dict({ 'prices': list([ @@ -3689,1902 +2447,3 @@ ]), }) # --- -# name: test_service[end1-start1-incl_vat2-get_energy_return_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start1-incl_vat2-get_energy_usage_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start1-incl_vat2-get_gas_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start2-incl_vat0-get_energy_return_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start2-incl_vat0-get_energy_usage_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start2-incl_vat0-get_gas_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start2-incl_vat1-get_energy_return_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start2-incl_vat1-get_energy_usage_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start2-incl_vat1-get_gas_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start2-incl_vat2-get_energy_return_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start2-incl_vat2-get_energy_usage_prices] - ServiceValidationError() -# --- -# name: test_service[end1-start2-incl_vat2-get_gas_prices] - ServiceValidationError() -# --- -# name: test_service[end2-start0-incl_vat0-get_energy_return_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.11153, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.10698, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.10497, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.10172, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.10723, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.11462, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.11894, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.1599, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.164, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.17169, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.13635, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.1296, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.15487, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.16049, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.17596, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.18629, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.20394, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.19757, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.17143, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.15, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.14841, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.14934, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start0-incl_vat0-get_energy_usage_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.13495, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.12945, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.12701, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.12308, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.12975, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.13869, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.14392, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.19348, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.19844, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.20774, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.16498, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.15682, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.18739, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.19419, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.21291, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.22541, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.24677, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.23906, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.20743, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.1815, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.17958, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.1807, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start0-incl_vat0-get_gas_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 23:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 00:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 01:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 02:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 03:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 04:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start0-incl_vat1-get_energy_return_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.11153, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.10698, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.10497, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.10172, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.10723, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.11462, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.11894, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.1599, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.164, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.17169, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.13635, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.1296, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.15487, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.16049, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.17596, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.18629, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.20394, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.19757, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.17143, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.15, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.14841, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.14934, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start0-incl_vat1-get_energy_usage_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.13495, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.12945, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.12701, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.12308, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.12975, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.13869, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.14392, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.19348, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.19844, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.20774, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.16498, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.15682, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.18739, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.19419, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.21291, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.22541, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.24677, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.23906, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.20743, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.1815, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.17958, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.1807, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start0-incl_vat1-get_gas_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 23:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 00:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 01:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 02:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 03:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 04:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start0-incl_vat2-get_energy_return_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.11153, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.10698, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.10497, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.10172, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.10723, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.11462, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.11894, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.1599, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.164, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.17169, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.13635, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.1296, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.15487, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.16049, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.17596, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.18629, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.20394, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.19757, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.17143, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.15, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.14841, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.14934, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start0-incl_vat2-get_energy_usage_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.13495, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.12945, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.12701, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.12308, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.12975, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.13869, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.14392, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.19348, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.19844, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.20774, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.16498, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.15682, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.18739, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.19419, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.21291, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.22541, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.24677, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.23906, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.20743, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.1815, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.17958, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.1807, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start0-incl_vat2-get_gas_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 23:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 00:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 01:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 02:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 03:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 04:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start1-incl_vat0-get_energy_return_prices] - ServiceValidationError() -# --- -# name: test_service[end2-start1-incl_vat0-get_energy_usage_prices] - ServiceValidationError() -# --- -# name: test_service[end2-start1-incl_vat0-get_gas_prices] - ServiceValidationError() -# --- -# name: test_service[end2-start1-incl_vat1-get_energy_return_prices] - ServiceValidationError() -# --- -# name: test_service[end2-start1-incl_vat1-get_energy_usage_prices] - ServiceValidationError() -# --- -# name: test_service[end2-start1-incl_vat1-get_gas_prices] - ServiceValidationError() -# --- -# name: test_service[end2-start1-incl_vat2-get_energy_return_prices] - ServiceValidationError() -# --- -# name: test_service[end2-start1-incl_vat2-get_energy_usage_prices] - ServiceValidationError() -# --- -# name: test_service[end2-start1-incl_vat2-get_gas_prices] - ServiceValidationError() -# --- -# name: test_service[end2-start2-incl_vat0-get_energy_return_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.11153, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.10698, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.10497, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.10172, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.10723, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.11462, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.11894, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.1599, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.164, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.17169, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.13635, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.1296, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.15487, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.16049, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.17596, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.18629, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.20394, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.19757, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.17143, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.15, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.14841, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.14934, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start2-incl_vat0-get_energy_usage_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.13495, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.12945, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.12701, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.12308, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.12975, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.13869, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.14392, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.19348, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.19844, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.20774, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.16498, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.15682, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.18739, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.19419, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.21291, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.22541, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.24677, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.23906, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.20743, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.1815, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.17958, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.1807, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start2-incl_vat0-get_gas_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 23:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 00:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 01:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 02:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 03:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 04:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start2-incl_vat1-get_energy_return_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.11153, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.10698, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.10497, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.10172, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.10723, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.11462, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.11894, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.1599, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.164, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.17169, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.13635, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.1296, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.15487, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.16049, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.17596, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.18629, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.20394, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.19757, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.17143, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.15, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.14841, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.14934, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start2-incl_vat1-get_energy_usage_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.13495, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.12945, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.12701, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.12308, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.12975, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.13869, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.14392, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.19348, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.19844, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.20774, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.16498, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.15682, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.18739, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.19419, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.21291, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.22541, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.24677, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.23906, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.20743, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.1815, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.17958, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.1807, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start2-incl_vat1-get_gas_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 23:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 00:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 01:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 02:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 03:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 04:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start2-incl_vat2-get_energy_return_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.11153, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.10698, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.10497, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.10172, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.10723, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.11462, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.11894, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.1599, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.164, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.17169, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.13635, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.1296, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.15487, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.16049, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.17596, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.18629, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.20394, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.19757, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.17143, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.15, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.14841, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.14934, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.139, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start2-incl_vat2-get_energy_usage_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.13495, - 'timestamp': '2023-01-18 23:00:00+00:00', - }), - dict({ - 'price': 0.12945, - 'timestamp': '2023-01-19 00:00:00+00:00', - }), - dict({ - 'price': 0.12701, - 'timestamp': '2023-01-19 01:00:00+00:00', - }), - dict({ - 'price': 0.12308, - 'timestamp': '2023-01-19 02:00:00+00:00', - }), - dict({ - 'price': 0.12975, - 'timestamp': '2023-01-19 03:00:00+00:00', - }), - dict({ - 'price': 0.13869, - 'timestamp': '2023-01-19 04:00:00+00:00', - }), - dict({ - 'price': 0.14392, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.19348, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.19844, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.20774, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.16498, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.15682, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.18739, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.19419, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.21291, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.22541, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.24677, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.23906, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.20743, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.1815, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.17958, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.1807, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.16819, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - ]), - }) -# --- -# name: test_service[end2-start2-incl_vat2-get_gas_prices] - dict({ - 'prices': list([ - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 05:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 06:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 07:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 08:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 09:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 10:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 11:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 12:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 13:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 14:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 15:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 16:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 17:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 18:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 19:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 20:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 21:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 22:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-19 23:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 00:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 01:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 02:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 03:00:00+00:00', - }), - dict({ - 'price': 0.7253, - 'timestamp': '2023-01-20 04:00:00+00:00', - }), - ]), - }) -# --- diff --git a/tests/components/energyzero/snapshots/test_sensor.ambr b/tests/components/energyzero/snapshots/test_sensor.ambr index 5ffa623fd87..23b232379df 100644 --- a/tests/components/energyzero/snapshots/test_sensor.ambr +++ b/tests/components/energyzero/snapshots/test_sensor.ambr @@ -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': , - 'unit_of_measurement': '€/kWh', - }), - 'context': , - 'entity_id': 'sensor.energyzero_today_energy_current_hour_price', - 'last_changed': , - 'last_updated': , - 'state': '0.49', - }) -# --- -# name: test_energy_today.1 - EntityRegistryEntrySnapshot({ - 'aliases': set({ - }), - 'area_id': None, - 'capabilities': dict({ - 'state_class': , - }), - 'config_entry_id': , - 'device_class': None, - 'device_id': , - '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': , - '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': , - 'configuration_url': None, - 'connections': set({ - }), - 'disabled_by': None, - 'entry_type': , - 'hw_version': None, - 'id': , - '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': , - 'entity_id': 'sensor.energyzero_today_energy_average_price', - 'last_changed': , - 'last_updated': , - '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': , - 'device_class': None, - 'device_id': , - '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': , - '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': , - 'configuration_url': None, - 'connections': set({ - }), - 'disabled_by': None, - 'entry_type': , - 'hw_version': None, - 'id': , - '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': , - 'entity_id': 'sensor.energyzero_today_energy_average_price', - 'last_changed': , - 'last_updated': , - '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': , - 'device_class': None, - 'device_id': , - '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': , - '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': , - 'configuration_url': None, - 'connections': set({ - }), - 'disabled_by': None, - 'entry_type': , - 'hw_version': None, - 'id': , - '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': , - 'unit_of_measurement': '€/kWh', - }), - 'context': , - 'entity_id': 'sensor.energyzero_today_energy_current_hour_price', - 'last_changed': , - 'last_updated': , - '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': , - }), - 'config_entry_id': , - 'device_class': None, - 'device_id': , - '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': , - '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': , - 'configuration_url': None, - 'connections': set({ - }), - 'disabled_by': None, - 'entry_type': , - 'hw_version': None, - 'id': , - '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': , - 'unit_of_measurement': '€/kWh', - }), - 'context': , - 'entity_id': 'sensor.energyzero_today_energy_current_hour_price', - 'last_changed': , - 'last_updated': , - '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': , - }), - 'config_entry_id': , - 'device_class': None, - 'device_id': , - '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': , - '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': , - 'configuration_url': None, - 'connections': set({ - }), - 'disabled_by': None, - 'entry_type': , - 'hw_version': None, - 'id': , - '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': , - 'entity_id': 'sensor.energyzero_today_energy_highest_price_time', - 'last_changed': , - 'last_updated': , - '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': , - 'device_class': None, - 'device_id': , - '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': , - 'name': None, - 'options': dict({ - }), - 'original_device_class': , - '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': , - 'configuration_url': None, - 'connections': set({ - }), - 'disabled_by': None, - 'entry_type': , - 'hw_version': None, - 'id': , - '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': , - 'entity_id': 'sensor.energyzero_today_energy_max_price', - 'last_changed': , - 'last_updated': , - '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': , - 'device_class': None, - 'device_id': , - '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': , - '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': , - 'configuration_url': None, - 'connections': set({ - }), - 'disabled_by': None, - 'entry_type': , - 'hw_version': None, - 'id': , - '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({ diff --git a/tests/components/enphase_envoy/snapshots/test_sensor.ambr b/tests/components/enphase_envoy/snapshots/test_sensor.ambr index cec9d5141cd..e403886b096 100644 --- a/tests/components/enphase_envoy/snapshots/test_sensor.ambr +++ b/tests/components/enphase_envoy/snapshots/test_sensor.ambr @@ -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 # --- diff --git a/tests/components/fritz/snapshots/test_image.ambr b/tests/components/fritz/snapshots/test_image.ambr index 452aab2a887..a51ab015a89 100644 --- a/tests/components/fritz/snapshots/test_image.ambr +++ b/tests/components/fritz/snapshots/test_image.ambr @@ -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