@@ -23,11 +23,7 @@ export const seedFake = (db) => {
23
23
} )
24
24
25
25
db . simulateWorkspaceOutage ( ws3 . workspace_id , {
26
- routes : [
27
- '/devices/list' ,
28
- '/access_codes/list' ,
29
- '/thermostats/climate_setting_schedules/list' ,
30
- ] ,
26
+ routes : [ '/devices/list' , '/access_codes/list' ] ,
31
27
} )
32
28
33
29
const cw = db . addConnectWebview ( {
@@ -394,15 +390,6 @@ export const seedFake = (db) => {
394
390
temperature_fahrenheit : 70 ,
395
391
current_climate_setting : {
396
392
hvac_mode_setting : 'heat_cool' ,
397
- manual_override_allowed : false ,
398
- cooling_set_point_fahrenheit : 75 ,
399
- cooling_set_point_celsius : 23.8 ,
400
- heating_set_point_fahrenheit : 65 ,
401
- heating_set_point_celsius : 18.3 ,
402
- } ,
403
- default_climate_setting : {
404
- hvac_mode_setting : 'heat_cool' ,
405
- manual_override_allowed : false ,
406
393
cooling_set_point_fahrenheit : 75 ,
407
394
cooling_set_point_celsius : 23.8 ,
408
395
heating_set_point_fahrenheit : 65 ,
@@ -421,12 +408,10 @@ export const seedFake = (db) => {
421
408
min_cooling_set_point_celsius : 18.333333333333336 ,
422
409
min_heating_set_point_celsius : 7.222222222222222 ,
423
410
min_heating_cooling_delta_celsius : 2.7777777777777777 ,
424
- is_temporary_manual_override_active : false ,
425
411
name : 'Apartment 21A' ,
426
412
image_url :
427
413
'https://connect.getseam.com/assets/images/devices/ecobee_3-lite_front.png' ,
428
414
image_alt_text : 'Placeholder Lock Image' ,
429
- is_climate_setting_schedule_active : false ,
430
415
} ,
431
416
errors : [ ] ,
432
417
} )
@@ -457,7 +442,6 @@ export const seedFake = (db) => {
457
442
temperature_fahrenheit : 70 ,
458
443
current_climate_setting : {
459
444
hvac_mode_setting : 'heat' ,
460
- manual_override_allowed : false ,
461
445
heating_set_point_celsius : 20 ,
462
446
heating_set_point_fahrenheit : 68 ,
463
447
} ,
@@ -474,12 +458,10 @@ export const seedFake = (db) => {
474
458
min_cooling_set_point_fahrenheit : 65 ,
475
459
max_heating_set_point_fahrenheit : 79 ,
476
460
min_heating_set_point_fahrenheit : 45 ,
477
- is_temporary_manual_override_active : false ,
478
461
name : 'debating book' ,
479
462
image_url :
480
463
'https://connect.getseam.com/assets/images/devices/ecobee_3-lite_front.png' ,
481
464
image_alt_text : 'Placeholder Lock Image' ,
482
- is_climate_setting_schedule_active : false ,
483
465
} ,
484
466
errors : [ ] ,
485
467
} )
@@ -551,51 +533,6 @@ export const seedFake = (db) => {
551
533
noise_threshold_name : 'Active Hours' ,
552
534
} )
553
535
554
- // add climate setting schedules
555
- db . addClimateSettingSchedule ( {
556
- device_id : device5 . device_id ,
557
- workspace_id : ws2 . workspace_id ,
558
- created_at : '2023-05-17T00:16:12.000' ,
559
- name : 'Guest - Robinson' ,
560
- schedule_starts_at : '2024-07-24T00:00:00.000Z' ,
561
- schedule_ends_at : '2024-08-01T00:00:00.000Z' ,
562
- schedule_type : 'time_bound' ,
563
- manual_override_allowed : true ,
564
- hvac_mode_setting : 'cool' ,
565
- cooling_set_point_fahrenheit : 70 ,
566
- cooling_set_point_celsius : 21 ,
567
- } )
568
-
569
- db . addClimateSettingSchedule ( {
570
- device_id : device5 . device_id ,
571
- workspace_id : ws2 . workspace_id ,
572
- created_at : '2023-05-17T00:16:12.000' ,
573
- name : 'Guest - Cabrero' ,
574
- schedule_starts_at : '2024-07-04T00:00:00.000Z' ,
575
- schedule_ends_at : '2024-07-14T00:00:00.000Z' ,
576
- schedule_type : 'time_bound' ,
577
- manual_override_allowed : true ,
578
- hvac_mode_setting : 'heat_cool' ,
579
- heating_set_point_fahrenheit : 65 ,
580
- heating_set_point_celsius : 18 ,
581
- cooling_set_point_fahrenheit : 72 ,
582
- cooling_set_point_celsius : 22 ,
583
- } )
584
-
585
- db . addClimateSettingSchedule ( {
586
- device_id : device5 . device_id ,
587
- workspace_id : ws2 . workspace_id ,
588
- created_at : '2022-05-17T00:16:12.000' ,
589
- name : 'Guest - Robinson with a very long title to test truncation and text wrap' ,
590
- schedule_starts_at : '2023-07-04T00:00:00.000Z' ,
591
- schedule_ends_at : '2027-08-14T00:00:00.000Z' ,
592
- schedule_type : 'time_bound' ,
593
- manual_override_allowed : true ,
594
- hvac_mode_setting : 'cool' ,
595
- cooling_set_point_fahrenheit : 72 ,
596
- cooling_set_point_celsius : 22.2222 ,
597
- } )
598
-
599
536
db . addClientSession ( {
600
537
workspace_id : ws2 . workspace_id ,
601
538
created_at : '2023-05-29T01:02:02.000' ,
0 commit comments