|
66 | 66 | }), |
67 | 67 | 'area_id': None, |
68 | 68 | 'capabilities': dict({ |
69 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 69 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
70 | 70 | }), |
71 | 71 | 'config_entry_id': <ANY>, |
72 | 72 | 'config_subentry_id': <ANY>, |
|
110 | 110 | 'device_class': 'precipitation', |
111 | 111 | 'friendly_name': 'Station A Daily rain', |
112 | 112 | 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), |
113 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 113 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
114 | 114 | 'unit_of_measurement': <UnitOfLength.MILLIMETERS: 'mm'>, |
115 | 115 | }), |
116 | 116 | 'context': <ANY>, |
|
532 | 532 | }), |
533 | 533 | 'area_id': None, |
534 | 534 | 'capabilities': dict({ |
535 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 535 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
536 | 536 | }), |
537 | 537 | 'config_entry_id': <ANY>, |
538 | 538 | 'config_subentry_id': <ANY>, |
|
576 | 576 | 'device_class': 'precipitation', |
577 | 577 | 'friendly_name': 'Station A Monthly rain', |
578 | 578 | 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), |
579 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 579 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
580 | 580 | 'unit_of_measurement': <UnitOfLength.MILLIMETERS: 'mm'>, |
581 | 581 | }), |
582 | 582 | 'context': <ANY>, |
|
769 | 769 | }), |
770 | 770 | 'area_id': None, |
771 | 771 | 'capabilities': dict({ |
772 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 772 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
773 | 773 | }), |
774 | 774 | 'config_entry_id': <ANY>, |
775 | 775 | 'config_subentry_id': <ANY>, |
|
813 | 813 | 'device_class': 'precipitation', |
814 | 814 | 'friendly_name': 'Station A Weekly rain', |
815 | 815 | 'last_measured': HAFakeDatetime(2023, 11, 8, 12, 12, 0, 914000, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), |
816 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 816 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
817 | 817 | 'unit_of_measurement': <UnitOfLength.MILLIMETERS: 'mm'>, |
818 | 818 | }), |
819 | 819 | 'context': <ANY>, |
|
1071 | 1071 | }), |
1072 | 1072 | 'area_id': None, |
1073 | 1073 | 'capabilities': dict({ |
1074 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 1074 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
1075 | 1075 | }), |
1076 | 1076 | 'config_entry_id': <ANY>, |
1077 | 1077 | 'config_subentry_id': <ANY>, |
|
1115 | 1115 | 'device_class': 'precipitation', |
1116 | 1116 | 'friendly_name': 'Station C Daily rain', |
1117 | 1117 | 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), |
1118 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 1118 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
1119 | 1119 | 'unit_of_measurement': <UnitOfLength.MILLIMETERS: 'mm'>, |
1120 | 1120 | }), |
1121 | 1121 | 'context': <ANY>, |
|
1537 | 1537 | }), |
1538 | 1538 | 'area_id': None, |
1539 | 1539 | 'capabilities': dict({ |
1540 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 1540 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
1541 | 1541 | }), |
1542 | 1542 | 'config_entry_id': <ANY>, |
1543 | 1543 | 'config_subentry_id': <ANY>, |
|
1581 | 1581 | 'device_class': 'precipitation', |
1582 | 1582 | 'friendly_name': 'Station C Monthly rain', |
1583 | 1583 | 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), |
1584 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 1584 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
1585 | 1585 | 'unit_of_measurement': <UnitOfLength.MILLIMETERS: 'mm'>, |
1586 | 1586 | }), |
1587 | 1587 | 'context': <ANY>, |
|
1774 | 1774 | }), |
1775 | 1775 | 'area_id': None, |
1776 | 1776 | 'capabilities': dict({ |
1777 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 1777 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
1778 | 1778 | }), |
1779 | 1779 | 'config_entry_id': <ANY>, |
1780 | 1780 | 'config_subentry_id': <ANY>, |
|
1818 | 1818 | 'device_class': 'precipitation', |
1819 | 1819 | 'friendly_name': 'Station C Weekly rain', |
1820 | 1820 | 'last_measured': HAFakeDatetime(2024, 6, 6, 8, 28, 3, tzinfo=zoneinfo.ZoneInfo(key='US/Pacific')), |
1821 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 1821 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
1822 | 1822 | 'unit_of_measurement': <UnitOfLength.MILLIMETERS: 'mm'>, |
1823 | 1823 | }), |
1824 | 1824 | 'context': <ANY>, |
|
2075 | 2075 | }), |
2076 | 2076 | 'area_id': None, |
2077 | 2077 | 'capabilities': dict({ |
2078 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 2078 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
2079 | 2079 | }), |
2080 | 2080 | 'config_entry_id': <ANY>, |
2081 | 2081 | 'config_subentry_id': <ANY>, |
|
2118 | 2118 | 'attribution': 'Data provided by ambientnetwork.net', |
2119 | 2119 | 'device_class': 'precipitation', |
2120 | 2120 | 'friendly_name': 'Station D Daily rain', |
2121 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 2121 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
2122 | 2122 | 'unit_of_measurement': <UnitOfLength.MILLIMETERS: 'mm'>, |
2123 | 2123 | }), |
2124 | 2124 | 'context': <ANY>, |
|
2483 | 2483 | }), |
2484 | 2484 | 'area_id': None, |
2485 | 2485 | 'capabilities': dict({ |
2486 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 2486 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
2487 | 2487 | }), |
2488 | 2488 | 'config_entry_id': <ANY>, |
2489 | 2489 | 'config_subentry_id': <ANY>, |
|
2526 | 2526 | 'attribution': 'Data provided by ambientnetwork.net', |
2527 | 2527 | 'device_class': 'precipitation', |
2528 | 2528 | 'friendly_name': 'Station D Monthly rain', |
2529 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 2529 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
2530 | 2530 | 'unit_of_measurement': <UnitOfLength.MILLIMETERS: 'mm'>, |
2531 | 2531 | }), |
2532 | 2532 | 'context': <ANY>, |
|
2716 | 2716 | }), |
2717 | 2717 | 'area_id': None, |
2718 | 2718 | 'capabilities': dict({ |
2719 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 2719 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
2720 | 2720 | }), |
2721 | 2721 | 'config_entry_id': <ANY>, |
2722 | 2722 | 'config_subentry_id': <ANY>, |
|
2759 | 2759 | 'attribution': 'Data provided by ambientnetwork.net', |
2760 | 2760 | 'device_class': 'precipitation', |
2761 | 2761 | 'friendly_name': 'Station D Weekly rain', |
2762 | | - 'state_class': <SensorStateClass.TOTAL: 'total'>, |
| 2762 | + 'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>, |
2763 | 2763 | 'unit_of_measurement': <UnitOfLength.MILLIMETERS: 'mm'>, |
2764 | 2764 | }), |
2765 | 2765 | 'context': <ANY>, |
|
0 commit comments