Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.firmata.entity.FirmataPinEntity Class Reference
Inheritance diagram for homeassistant.components.firmata.entity.FirmataPinEntity:
[legend]
Collaboration diagram for homeassistant.components.firmata.entity.FirmataPinEntity:
[legend]

Public Member Functions

None __init__ (self, FirmataBoardPin api, ConfigEntry config_entry, str name, FirmataPinType pin)
 
str name (self)
 
str unique_id (self)
 
- Public Member Functions inherited from homeassistant.components.firmata.entity.FirmataEntity
def __init__ (self, api)
 
DeviceInfo device_info (self)
 

Private Attributes

 _name
 
 _unique_id
 

Static Private Attributes

bool _attr_should_poll = False
 

Detailed Description

Representation of a Firmata pin entity.

Definition at line 32 of file entity.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.firmata.entity.FirmataPinEntity.__init__ (   self,
FirmataBoardPin  api,
ConfigEntry  config_entry,
str  name,
FirmataPinType  pin 
)
Initialize the pin entity.

Reimplemented in homeassistant.components.firmata.light.FirmataLight.

Definition at line 37 of file entity.py.

Member Function Documentation

◆ name()

str homeassistant.components.firmata.entity.FirmataPinEntity.name (   self)
Get the name of the pin.

Definition at line 52 of file entity.py.

◆ unique_id()

str homeassistant.components.firmata.entity.FirmataPinEntity.unique_id (   self)
Return a unique identifier for this device.

Definition at line 57 of file entity.py.

Member Data Documentation

◆ _attr_should_poll

bool homeassistant.components.firmata.entity.FirmataPinEntity._attr_should_poll = False
staticprivate

Definition at line 35 of file entity.py.

◆ _name

homeassistant.components.firmata.entity.FirmataPinEntity._name
private

Definition at line 46 of file entity.py.

◆ _unique_id

homeassistant.components.firmata.entity.FirmataPinEntity._unique_id
private

Definition at line 49 of file entity.py.


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