mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-31 13:34:22 +02:00
[mqtt.homeassistant] Remove newStyleChannels temporary back-compat (#17908)
This includes removing deprecated channel IDs controlled by the same flag. Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ public class DiscoverComponentsTest extends JavaOSGiTest {
|
||||
UnitProvider unitProvider = mock(UnitProvider.class);
|
||||
|
||||
DiscoverComponents discover = spy(new DiscoverComponents(ThingChannelConstants.TEST_HOME_ASSISTANT_THING,
|
||||
scheduler, channelStateUpdateListener, availabilityTracker, gson, jinjava, unitProvider, true));
|
||||
scheduler, channelStateUpdateListener, availabilityTracker, gson, jinjava, unitProvider));
|
||||
|
||||
HandlerConfiguration config = new HandlerConfiguration("homeassistant", List.of("switch/object"));
|
||||
|
||||
|
||||
+1
-1
@@ -170,7 +170,7 @@ public class HomeAssistantMQTTImplementationTest extends MqttOSGiTest {
|
||||
|
||||
ScheduledExecutorService scheduler = new ScheduledThreadPoolExecutor(4);
|
||||
DiscoverComponents discover = spy(new DiscoverComponents(ThingChannelConstants.TEST_HOME_ASSISTANT_THING,
|
||||
scheduler, channelStateUpdateListener, availabilityTracker, gson, jinjava, unitProvider, true));
|
||||
scheduler, channelStateUpdateListener, availabilityTracker, gson, jinjava, unitProvider));
|
||||
|
||||
// The DiscoverComponents object calls ComponentDiscovered callbacks.
|
||||
// In the following implementation we add the found component to the `haComponents` map
|
||||
|
||||
Reference in New Issue
Block a user