From be238b25df9a22cabaf717dfe8cc49b4593aeb7d Mon Sep 17 00:00:00 2001 From: "Phill (pssc)" Date: Wed, 11 Sep 2024 05:05:55 +0100 Subject: [PATCH] squeezebox add sensors (#34651) * squeezebox add sensors * Update source/_integrations/squeezebox.markdown Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> * Update source/_integrations/squeezebox.markdown Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> * Update source/_integrations/squeezebox.markdown Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> * Update source/_integrations/squeezebox.markdown Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> * Update source/_integrations/squeezebox.markdown Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> * Update source/_integrations/squeezebox.markdown Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> * Update source/_integrations/squeezebox.markdown --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/squeezebox.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/_integrations/squeezebox.markdown b/source/_integrations/squeezebox.markdown index 9e96352da7f..884a2cdb60c 100644 --- a/source/_integrations/squeezebox.markdown +++ b/source/_integrations/squeezebox.markdown @@ -13,6 +13,7 @@ ha_dhcp: true ha_platforms: - media_player - binary_sensor + - sensor ha_integration_type: integration --- @@ -56,6 +57,17 @@ transporter_toslink: - **Needs restart**: Server Service needs to be restarted (typically, this is needed to apply updates). - **Library rescan**: The music library is currently being scanned by LMS (depending on the type of scan, some content may be unavailable). +### Sensors + +- **Last scan**: Date of the last library scan. +- **Player count**: Number of players on the service. +- **Player count off service**: Number of players not on this service. +- **Total albums**: Total number of albums currently available in the service. +- **Total artists**: Total number of artists currently available in the service. +- **Total duration**: Duration of all tracks in service (HHHH:MM:SS). +- **Total genres**: Total number of genres used in current service. +- **Total songs**: Total number of music files currently in service. + ## Actions ### Action `call_method`