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

Public Member Functions

None __init__ (self, str zone_name, str kind)
 
None log_report (self)
 
dict report (self)
 

Public Attributes

 zone_name
 

Private Attributes

 _stat_type
 

Detailed Description

Base class of Sonos statistics.

Definition at line 13 of file statistics.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 16 of file statistics.py.

Member Function Documentation

◆ log_report()

None homeassistant.components.sonos.statistics.SonosStatistics.log_report (   self)
Log statistics for this speaker.

Definition at line 26 of file statistics.py.

◆ report()

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

Reimplemented in homeassistant.components.sonos.statistics.EventStatistics.

Definition at line 22 of file statistics.py.

Member Data Documentation

◆ _stat_type

homeassistant.components.sonos.statistics.SonosStatistics._stat_type
private

Definition at line 19 of file statistics.py.

◆ zone_name

homeassistant.components.sonos.statistics.SonosStatistics.zone_name

Definition at line 20 of file statistics.py.


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