fix: compatibility with trmnl simulator

This commit is contained in:
Benjamin Nussbaum 2025-03-04 18:01:47 +01:00
parent e6a2bdb3bc
commit 1983197c98
4 changed files with 32 additions and 8 deletions

View file

@ -18,7 +18,7 @@ class DeviceFactory extends Factory
'mac_address' => $this->faker->macAddress(),
'default_refresh_interval' => '900',
'friendly_id' => Str::random(6),
'api_key' => 'tD-'.Str::random(19),
'api_key' => Str::random(22),
'user_id' => 1,
'last_battery_voltage' => $this->faker->randomFloat(2, 3.0, 4.2),
'last_rssi_level' => $this->faker->numberBetween(-100, 0),