Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.fortios.device_tracker.FortiOSDeviceScanner Class Reference
Inheritance diagram for homeassistant.components.fortios.device_tracker.FortiOSDeviceScanner:
[legend]
Collaboration diagram for homeassistant.components.fortios.device_tracker.FortiOSDeviceScanner:
[legend]

Public Member Functions

None __init__ (self, fgt)
 
def get_device_name (self, device)
 
def scan_devices (self)
 
def update (self)
 

Private Attributes

 _clients
 
 _clients_json
 
 _fgt
 

Detailed Description

Class which queries a FortiOS unit for connected devices.

Definition at line 72 of file device_tracker.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.fortios.device_tracker.FortiOSDeviceScanner.__init__ (   self,
  fgt 
)
Initialize the scanner.

Definition at line 75 of file device_tracker.py.

Member Function Documentation

◆ get_device_name()

def homeassistant.components.fortios.device_tracker.FortiOSDeviceScanner.get_device_name (   self,
  device 
)
Return the name of the given device or None if we don't know.

Definition at line 110 of file device_tracker.py.

◆ scan_devices()

def homeassistant.components.fortios.device_tracker.FortiOSDeviceScanner.scan_devices (   self)
Scan for new devices and return a list with found device IDs.

Definition at line 105 of file device_tracker.py.

◆ update()

def homeassistant.components.fortios.device_tracker.FortiOSDeviceScanner.update (   self)
Update clients from the device.

Definition at line 81 of file device_tracker.py.

Member Data Documentation

◆ _clients

homeassistant.components.fortios.device_tracker.FortiOSDeviceScanner._clients
private

Definition at line 91 of file device_tracker.py.

◆ _clients_json

homeassistant.components.fortios.device_tracker.FortiOSDeviceScanner._clients_json
private

Definition at line 89 of file device_tracker.py.

◆ _fgt

homeassistant.components.fortios.device_tracker.FortiOSDeviceScanner._fgt
private

Definition at line 79 of file device_tracker.py.


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