Skip to content

Commit

Permalink
Update outlet.py for Inspelning support
Browse files Browse the repository at this point in the history
  • Loading branch information
AboveColin authored Sep 23, 2024
1 parent bd07475 commit 01941d4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/dirigera/devices/outlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,29 @@


class OutletAttributes(Attributes):
custom_name: Optional[str] = None
firmware_version: Optional[str] = None
hardware_version: Optional[str] = None
manufacturer: Optional[str] = None
model: Optional[str] = None
product_code: Optional[str] = None
serial_number: Optional[str] = None
is_on: bool
startup_on_off: Optional[StartupEnum] = None
energy_consumed_at_last_reset: Optional[float] = None
current_active_power: Optional[float] = None
current_amps: Optional[float] = None
current_voltage: Optional[float] = None
total_energy_consumed: Optional[float] = None
total_energy_consumed_last_updated: Optional[datetime.datetime] = None
status_light: Optional[bool] = None
identify_period: Optional[int] = None
permitting_join: Optional[bool] = None
ota_policy: Optional[str] = None
ota_progress: Optional[int] = None
ota_state: Optional[str] = None
ota_status: Optional[str] = None
time_of_last_energy_reset: Optional[datetime.datetime] = None


class Outlet(Device):
Expand Down

0 comments on commit 01941d4

Please sign in to comment.