* Add test for init * update tests * split common.py into const.py and __init__.py * Update tests/components/fyta/__init__.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * add autospec, tidy up * adjust len-test * add test_sensor.py, amend tests for coordinator.py * Update tests/components/fyta/conftest.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * move load_unload with expired token into own test * Update tests/components/fyta/test_init.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * ruff change --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
14 lines
246 B
JSON
14 lines
246 B
JSON
{
|
|
"0": {
|
|
"name": "Gummibaum",
|
|
"scientific_name": "Ficus elastica",
|
|
"status": 1,
|
|
"sw_version": "1.0"
|
|
},
|
|
"1": {
|
|
"name": "Kakaobaum",
|
|
"scientific_name": "Theobroma cacao",
|
|
"status": 2,
|
|
"sw_version": "1.0"
|
|
}
|
|
}
|