def METHOD_NAME() -> Device:
    device_config = Tesla(configuration=TeslaConfiguration(
        ip_address="sample-address",
        email="sample@mail.com",
        password="some password"))
    dev = Device(device_config)
    dev.add_component(bat.component_descriptor.configuration_factory())
    return dev