Morg42 / plugins

Plugins for SmartHomeNG - The device integration platform for your smart home
https://www.smarthomeNG.de
0 stars 0 forks source link

squeezebox: manual read not working #2

Closed onkelandy closed 2 years ago

onkelandy commented 2 years ago

struct:

squeezebox_single:
    struct:
      - sdp_squeezebox.database
      - sdp_squeezebox.server

    player1:
        sqb_custom1: 'b8:27:eb:a3:29:99'
        struct: sdp_squeezebox.player

    player2:
        sqb_custom1: 'ac:de:48:00:11:22'
        struct: sdp_squeezebox.player

Manual read trigger (no matter in which hierarchy)

Apr 10 21:10:35 CEST DEBUG    plugins.sdp_squeezebox CP Server Thread-9 Update_item was called with item "squeezebox_single.player2.control.read" from caller admin, source None and dest None  --  (smartdeviceplugin.py:update_item:474)
Apr 10 21:10:35 CEST WARNING  plugins.sdp_squeezebox CP Server Thread-9 Update_item was called with item squeezebox_single.player2.control.read, which is not configured for this plugin. This shouldn't happen...  --  (smartdeviceplugin.py:update_item:476)
Apr 10 21:10:48 CEST DEBUG    plugins.sdp_squeezebox CP Server Thread-12 Update_item was called with item "squeezebox_single.player1.control.read" from caller admin, source None and dest None  --  (smartdeviceplugin.py:update_item:474)
Apr 10 21:10:48 CEST WARNING  plugins.sdp_squeezebox CP Server Thread-12 Update_item was called with item squeezebox_single.player1.control.read, which is not configured for this plugin. This shouldn't happen...  --  (smartdeviceplugin.py:update_item:476)
Morg42 commented 2 years ago

Pushed proposed fix

onkelandy commented 2 years ago

Seems to work, thx