Files
core/tests/fixtures/p1_monitor/phases.json
T
Klaas SchouteandMartin Hjelmare 68fbc0792a Add P1 Monitor integration (#54738)
* Init integration P1 Monitor

* Fix build error

* Add quality scale

* Remove last_reset and icon

* Change list to tuple

* Close client on connection exception

* Change min value to 5 (seconds)

* the used python package will close it

* Remove the options flow

* Add session and close client

* Smash to a single DataUpdateCoordinator

* Make a custom update coordinator class

* await the coordinator close

* Add second await the coordinator close

* Close when exit scope

* Removed unused code

* Fix test_sensor on entity_id change

* Fix test on test_sensor

* Transfer SENSOR dict to sensor platform

* device class for cost entity update entity_name

* Revert name in unique id and update sensor test

* Update code based on suggestions

* Fix typing

* Change code to fix mypy errors

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 08:45:04 +02:00

74 lines
1.6 KiB
JSON

[
{
"LABEL": "Huidige KW verbruik L1 (21.7.0)",
"SECURITY": 0,
"STATUS": "0.315",
"STATUS_ID": 74
},
{
"LABEL": "Huidige KW verbruik L2 (41.7.0)",
"SECURITY": 0,
"STATUS": "0.0",
"STATUS_ID": 75
},
{
"LABEL": "Huidige KW verbruik L3 (61.7.0)",
"SECURITY": 0,
"STATUS": "0.624",
"STATUS_ID": 76
},
{
"LABEL": "Huidige KW levering L1 (22.7.0)",
"SECURITY": 0,
"STATUS": "0.0",
"STATUS_ID": 77
},
{
"LABEL": "Huidige KW levering L2 (42.7.0)",
"SECURITY": 0,
"STATUS": "0.0",
"STATUS_ID": 78
},
{
"LABEL": "Huidige KW levering L3 (62.7.0)",
"SECURITY": 0,
"STATUS": "0.0",
"STATUS_ID": 79
},
{
"LABEL": "Huidige Amperage L1 (31.7.0)",
"SECURITY": 0,
"STATUS": "1.6",
"STATUS_ID": 100
},
{
"LABEL": "Huidige Amperage L2 (51.7.0)",
"SECURITY": 0,
"STATUS": "4.44",
"STATUS_ID": 101
},
{
"LABEL": "Huidige Amperage L2 (71.7.0)",
"SECURITY": 0,
"STATUS": "3.51",
"STATUS_ID": 102
},
{
"LABEL": "Huidige Voltage L1 (32.7.0)",
"SECURITY": 0,
"STATUS": "233.6",
"STATUS_ID": 103
},
{
"LABEL": "Huidige Voltage L2 (52.7.0)",
"SECURITY": 0,
"STATUS": "0.0",
"STATUS_ID": 104
},
{
"LABEL": "Huidige Voltage L2 (72.7.0)",
"SECURITY": 0,
"STATUS": "233.0",
"STATUS_ID": 105
}
]