Devices from templates
Nine templates from the plug with metering to the washing machine, or entities of your own. Up to 2000 devices, spread over areas that are created on the way.
Open source · Home Assistant · v0.4.0
Hundreds of devices with believable values in a test instance of Home Assistant: plugs, sensors, lights, blinds and more, with curves, schedules and faults. Removable without a trace at any time.

Features
Nine templates from the plug with metering to the washing machine, or entities of your own. Up to 2000 devices, spread over areas that are created on the way.
Sine, random walk, household load, PV day, counters, state sequences and the replay of CSV files. Every curve is a function of time and seed: same seed, same values. In the panel you change them with a preview.
Actions at fixed, repeating or random times, on one or several devices, a template or all of them. Scenarios chain steps with a wait. The form offers only actions that every chosen device can do.
Dropouts, frozen values, spikes, a low battery, a falling link quality, late or duplicate messages: this is how you check what your dashboards and automations do with faults.
Writes hourly long-term statistics for up to 365 days from the curves, so that the Energy dashboard and history cards are full at once. A removal clears exactly these statistics again.
Besides the native output the devices publish over MQTT discovery or in the Zigbee2MQTT format, groups included. The panel offers this only when an MQTT broker is set up.
With a factor of 60 one hour runs per minute: daily curves and counters can be watched without waiting.
Everything the integration creates carries a marker. A removal shows beforehand what it deletes and never touches foreign devices, entities, areas, statistics or MQTT topics. Devices that are in use are protected until they are taken out of schedules, scenarios and groups.
Views





More
MQTT groups for Zigbee2MQTT, backfilling long-term statistics and removing everything again, with a preview beforehand.



Installation
stacknoise/hass-test-data-creator as an integration, or use the button above.action: hass_test_data_creator.create_devices
data:
template: plug_metering
count: 10
name_pattern: "Steckdose {nn}"
areas: [Wohnzimmer, Küche, Büro]For test environments only, never next to real devices. All services and options are documented in the README on GitHub. README on GitHub ↗
Questions, ideas or a bug? An issue on GitHub helps, and so does an email.