This commit is contained in:
omenem 2020-04-17 18:28:42 +02:00
parent 80088c0dc3
commit 3cedaf5f50

View file

@ -19,12 +19,10 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
public class ThermostatStateController {
@RestController @RestController
@EnableAutoConfiguration @EnableAutoConfiguration
@RequestMapping("/thermostatState") @RequestMapping("/thermostatState")
public class SwitchableStateController { public class ThermostatStateController {
@Autowired private ThermostatStateRepository thermostatStateService; @Autowired private ThermostatStateRepository thermostatStateService;
@ -64,4 +62,3 @@ public class ThermostatStateController {
thermostatStateService.deleteById(id); thermostatStateService.deleteById(id);
} }
} }
}