Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.http.ban.IpBan Class Reference

Public Member Functions

None __init__ (self, str|IPv4Address|IPv6Address ip_ban, datetime|None banned_at=None)
 

Public Attributes

 banned_at
 
 ip_address
 

Detailed Description

Represents banned IP address.

Definition at line 194 of file ban.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.http.ban.IpBan.__init__ (   self,
str | IPv4Address | IPv6Address  ip_ban,
datetime | None   banned_at = None 
)
Initialize IP Ban object.

Definition at line 197 of file ban.py.

Member Data Documentation

◆ banned_at

homeassistant.components.http.ban.IpBan.banned_at

Definition at line 204 of file ban.py.

◆ ip_address

homeassistant.components.http.ban.IpBan.ip_address

Definition at line 203 of file ban.py.


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