# Test battery output for a device with scalar message setting overrides. devices: - identifier: name: "LVS-DoesntMatter2" expected_name: "Lovense Edge" device_init: # Initialization - !Commands device_index: 0 commands: - !Subscribe endpoint: rx - !Write endpoint: tx # "DeviceType;" data: [68, 101, 118, 105, 99, 101, 84, 121, 112, 101, 59] write_with_response: false - !Events device_index: 0 events: - !Notifications - endpoint: rx # "P:11:0082059AD3BD;" data: [80, 58, 49, 49, 58, 48, 48, 56, 50, 48, 53, 57, 65, 68, 51, 66, 68, 59] device_commands: - !Messages device_index: 0 messages: - !Battery expected_power: 1.0 run_async: true - !Commands device_index: 0 commands: - !Write endpoint: tx # "Battery;" data: [66, 97, 116, 116, 101, 114, 121, 59] write_with_response: false - !Events device_index: 0 events: - !Notifications - endpoint: rx # "100;" data: [49, 48, 48, 59]