if (!sectionStatuses.containsKey(sectionId)) {
sectionStatuses.put(sectionId, SectionStatus.ENABLED);
}
if (pollingEnabled) {
Section section = new Section(sectionId);
<BUG>sendCommandWithContent(GET_SECTION_STATUS, section, sender);
</BUG>
}
SectionStatus status = sectionStatuses.get(sectionId);
return status == ENABLED;

if (!sectionStatuses.containsKey(sectionId)) {
sectionStatuses.put(sectionId, SectionStatus.ENABLED);
}
if (pollingEnabled) {
Section section = new Section(sectionId);
sendCommandWithContent(GET_SECTION_STATUS, section, mqtt);
}
SectionStatus status = sectionStatuses.get(sectionId);
return status == ENABLED;
