I am trying to add my Logitech peripheral batteries to home assistant like in this thread (https://www.reddit.com/r/homeassistant/comments/10k2oj3/tutorial_how_to_track_logitech_mouse_battery/) They mention what the configuration looks like for the HACS multiscrape integration but I was wondering if and how I would go about setting it up with the HA native one.
#Help Configuring scrape sensor integration
3 messages · Page 1 of 1 (latest)
The xml on that page looks like this: <xml> <device_id>dev00000000</device_id> <device_name>G502 X PLUS Wireless Gaming Mouse</device_name> <device_type>Mouse</device_type> <battery_percent>89.00</battery_percent> <battery_voltage>0.00</battery_voltage> <mileage>36.16</mileage> <charging>False</charging> <last_update>12/27/2024 12:46:10 -08:00</last_update> </xml>
I believe you need to use CSS selectors and that looks like XML.