Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.sonos.statistics.EventStatistics Class Reference
Inheritance diagram for homeassistant.components.sonos.statistics.EventStatistics:
[legend]
Collaboration diagram for homeassistant.components.sonos.statistics.EventStatistics:
[legend]

Public Member Functions

None __init__ (self, str zone_name)
 
None duplicate (self, SonosEvent event)
 
None process (self, SonosEvent event)
 
None receive (self, SonosEvent event)
 
dict report (self)
 
- Public Member Functions inherited from homeassistant.components.sonos.statistics.SonosStatistics
None __init__ (self, str zone_name, str kind)
 
None log_report (self)
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.sonos.statistics.SonosStatistics
 zone_name
 

Detailed Description

Representation of Sonos event statistics.

Definition at line 50 of file statistics.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.sonos.statistics.EventStatistics.__init__ (   self,
str  zone_name 
)
Initialize EventStatistics.

Definition at line 53 of file statistics.py.

Member Function Documentation

◆ duplicate()

None homeassistant.components.sonos.statistics.EventStatistics.duplicate (   self,
SonosEvent  event 
)
Mark a duplicate event by subscription type.

Definition at line 64 of file statistics.py.

◆ process()

None homeassistant.components.sonos.statistics.EventStatistics.process (   self,
SonosEvent  event 
)
Mark a fully processed event by subscription type.

Definition at line 68 of file statistics.py.

◆ receive()

None homeassistant.components.sonos.statistics.EventStatistics.receive (   self,
SonosEvent  event 
)
Mark a received event by subscription type.

Definition at line 57 of file statistics.py.

◆ report()

dict homeassistant.components.sonos.statistics.EventStatistics.report (   self)
Generate a report for use in diagnostics.

Reimplemented from homeassistant.components.sonos.statistics.SonosStatistics.

Definition at line 72 of file statistics.py.


The documentation for this class was generated from the following file: