1
mirror of https://github.com/home-assistant/core synced 2024-07-24 16:42:06 +02:00
ha-core/tests/fixtures/foobot_data.json
Fabien Piuzzi 0deef34881 Adding Foobot device sensor (#12417)
* Added Foobot device sensor

* Added error handling tests

* Corrections after PR review.

* Migrated to async/await syntax

 * lint fixes
 * stop raising HomeAssistantError
 * debug log for number of requests

* Moved shared data between sensors from a class attribute to a separate class

* Made test more async-aware

disabled setup error test for now as it's not working

* Working failure scenarios tests
2018-03-15 19:50:58 -07:00

35 lines
539 B
JSON

{
"uuid": "32463564765421243",
"start": 1518134963,
"end": 1518134963,
"sensors": [
"time",
"pm",
"tmp",
"hum",
"co2",
"voc",
"allpollu"
],
"units": [
"s",
"ugm3",
"C",
"pc",
"ppm",
"ppb",
"%"
],
"datapoints": [
[
1518134963,
144.76668,
21.064333,
49.474,
1232.0,
340.66666,
138.93651
]
]
}