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 | |
Representation of Sonos event statistics.
Definition at line 50 of file statistics.py.
| None homeassistant.components.sonos.statistics.EventStatistics.__init__ | ( | self, | |
| str | zone_name | ||
| ) |
Initialize EventStatistics.
Definition at line 53 of file statistics.py.
| 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.
| 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.
| 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.
| 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.