Lines n/a 0 / 0
Methods n/a 0 / 0
Classes n/a 0 / 0
Name Lines Methods CRAP
7enum BinarySensorDeviceClass: string
8{
9    case Battery = 'battery';
10    case BatteryCharging = 'battery_charging';
11    case CarbonMonoxide = 'carbon_monoxide';
12    case Cold = 'cold';
13    case Connectivity = 'connectivity';
14    case Door = 'door';
15    case GarageDoor = 'garage_door';
16    case Gas = 'gas';
17    case Heat = 'heat';
18    case Light = 'light';
19    case Lock = 'lock';
20    case Moisture = 'moisture';
21    case Motion = 'motion';
22    case Moving = 'moving';
23    case Occupancy = 'occupancy';
24    case Opening = 'opening';
25    case Plug = 'plug';
26    case Power = 'power';
27    case Presence = 'presence';
28    case Problem = 'problem';
29    case Running = 'running';
30    case Safety = 'safety';
31    case Smoke = 'smoke';
32    case Sound = 'sound';
33    case Tamper = 'tamper';
34    case Update = 'update';
35    case Vibration = 'vibration';
36    case Window = 'window';
37}