INNER CODE UNIT · Python
Account
arnonym/ha-plugins · ha-sip/src/account.py:54
class Account(pj.Account):
def __init__(
self,
end_point: pj.Endpoint,
config: MyAccountConfig,
command_handler: CommandHandler,
event_sender: EventSender,
ha_config: ha.HaConfig,
make_default: bool,
on_reg_state_callback: OnRegStateCallback
):
pj.Account.__init__(self)
self.config = config
self.end_point = end_point
self.command_handler = command_handler
self.event_sender = event_sender
self.ha_config = ha_config
self.make_default = make_default