hass-core/tests/components/microbees/fixtures/bees.json
Marco Lettieri 3a4c6fc7f3
Add microBees integration (#99573)
* Create a new homeassistan integration for microBees

* black --fast homeassistant tests

* Switch platform

* rename folder

* rename folder

* Update owners

* aiohttp removed in favor of hass

* Update config_flow.py

* Update __init__.py

* Update const.py

* Update manifest.json

* Update string.json

* Update servicesMicrobees.py

* Update switch.py

* Update __init__.py

* Update it.json

* Create a new homeassistan integration for microBees

* black --fast homeassistant tests

* Switch platform

* rename folder

* rename folder

* Update owners

* aiohttp removed in favor of hass

* Update config_flow.py

* Update __init__.py

* Update const.py

* Update manifest.json

* Update string.json

* Update servicesMicrobees.py

* Update switch.py

* Update __init__.py

* Update it.json

* fixes review

* fixes review

* fixes review

* pyproject.toml

* Update package_constraints.txt

* fixes review

* bug fixes

* bug fixes

* delete microbees connector

* add other productID in switch

* added coordinator and enanchments

* added coordinator and enanchments

* fixes from suggestions

* fixes from suggestions

* fixes from suggestions

* fixes from suggestions

* fixes from suggestions

* fixes from suggestions

* fixes from suggestions

* fixes from suggestions

* fixes from suggestions

* fixes from suggestions

* fixes from suggestions

* fixes from suggestions

* add test

* add test

* add test

* add test

* requested commit

* requested commit

* requested commit

* requested commit

* reverting .strict-typing and added microbees to .coveragerc

* remove log

* remove log

* remove log

* remove log

* add test for microbeesExeption and Exeption

* add test for microbeesExeption and Exeption

* add test for microbeesException and Exception

* add test for microbeesException and Exception

* add test for microbeesException and Exception

---------

Co-authored-by: FedDam <noceracity@gmail.com>
Co-authored-by: Federico D'Amico <48856240+FedDam@users.noreply.github.com>
2024-02-19 15:12:03 +01:00

87 lines
2.1 KiB
JSON

[
{
"id": 24907,
"label": "Test this",
"serial": "10521CB7C864",
"gate_serial": "cde153cb-d55c-4230-be93-340eff8f53c2",
"gate_id": 4466,
"lastUpdate": 1707812698995,
"name": "Test this",
"active": true,
"productID": 46,
"prototypeName": "SocketBee Italy",
"rssi": -67,
"lastActivation": 1707768436222,
"icon": "https://products.microbees.com/wp-content/uploads/2020/10/new-foto-socketbee-italia.png",
"configuration": {},
"sensors": [
{
"id": 59754,
"name": "Sensore Assorbimento",
"lastUpdate": 1707812700120,
"deviceID": 462,
"prototypeID": 223,
"prototypeName": "Sensore Assorbimento",
"device_type": 0,
"dc_type": "Power",
"unit": "Wh",
"payload": [1, 1, 2, 0.5, 226, 0.013107268, 2, -67],
"value": 1
},
{
"id": 59755,
"name": "Stato Interruttore Test this",
"lastUpdate": 1707812700129,
"deviceID": 463,
"prototypeID": 224,
"prototypeName": "Stato Interruttore",
"device_type": 1,
"dc_type": "Uptime",
"unit": "",
"payload": [1, 1, 2, 0.5, 226, 0.013107268, 2, -67],
"value": 1
}
],
"actuators": [
{
"id": 25497,
"name": "Test this",
"prototypeName": "Interruttore",
"deviceID": 461,
"configuration": {
"actuator_type": "1",
"icon": "power_button"
},
"starred": true,
"uptime": 2812005,
"sensorID": 59755,
"payload": [1, 1, 2, 0.5, 226, 0.013107268, 2, -67],
"value": 1,
"rooms": []
}
],
"rooms": [],
"status_string": [
{
"name": "Seriale",
"value": "10521CB7C864",
"icon": "numeric"
},
{
"name": "Ultimo Aggiornamento",
"value": "09:25",
"icon": "av-timer"
},
{
"name": "Sensore Assorbimento",
"value": "1W",
"icon": "flash"
},
{
"name": "Stato Interruttore Test This",
"value": "on",
"icon": "toggle-switch-on"
}
]
}
]