@@ -215,7 +215,7 @@ async def async_get_filter_diagnostics(self, pool_id: int, equipment_id: int, ra
215215
216216 _LOGGER .debug ("Sending GetUIFilterDiagnosticInfo with body: %s" , req_body )
217217
218- resp = await self .async_send_and_receive (MessageType .GET_FILTER_DIAGNOSTIC_INFO , req_body )
218+ resp = await self .async_send_and_receive (MessageType .GET_FILTER_DIAGNOSTIC , req_body )
219219
220220 _LOGGER .debug ("Received response for GetUIFilterDiagnosticInfo: %s" , resp )
221221
@@ -285,7 +285,7 @@ async def async_set_heater(
285285
286286 _LOGGER .debug ("Sending SetUIHeaterCmd with body: %s" , req_body )
287287
288- return await self .async_send (MessageType .SET_HEATER_COMMAND , req_body )
288+ return await self .async_send (MessageType .SET_HEATER , req_body )
289289
290290 async def async_set_solar_heater (
291291 self ,
@@ -320,7 +320,7 @@ async def async_set_solar_heater(
320320
321321 _LOGGER .debug ("Sending SetUISolarSetPointCmd with body: %s" , req_body )
322322
323- return await self .async_send (MessageType .SET_SOLAR_SET_POINT_COMMAND , req_body )
323+ return await self .async_send (MessageType .SET_SOLAR_SETPOINT , req_body )
324324
325325 async def async_set_heater_mode (
326326 self ,
@@ -355,7 +355,7 @@ async def async_set_heater_mode(
355355
356356 _LOGGER .debug ("Sending SetUIHeaterModeCmd with body: %s" , req_body )
357357
358- return await self .async_send (MessageType .SET_HEATER_MODE_COMMAND , req_body )
358+ return await self .async_send (MessageType .SET_HEATER_MODE , req_body )
359359
360360 async def async_set_heater_enable (
361361 self ,
@@ -390,7 +390,7 @@ async def async_set_heater_enable(
390390
391391 _LOGGER .debug ("Sending SetHeaterEnable with body: %s" , req_body )
392392
393- return await self .async_send (MessageType .SET_HEATER_ENABLED , req_body )
393+ return await self .async_send (MessageType .SET_HEATER_ENABLE , req_body )
394394
395395 async def async_set_equipment (
396396 self ,
@@ -552,7 +552,7 @@ async def async_set_light_show(
552552
553553 _LOGGER .debug ("Sending SetStandAloneLightShow with body: %s" , req_body )
554554
555- return await self .async_send (MessageType .SET_STANDALONE_LIGHT_SHOW , req_body )
555+ return await self .async_send (MessageType .SET_LIGHT_SHOW , req_body )
556556
557557 async def async_set_chlorinator_enable (self , pool_id : int , enabled : int | bool ) -> None :
558558 body_element = ET .Element ("Request" , {"xmlns" : XML_NAMESPACE })
@@ -570,7 +570,7 @@ async def async_set_chlorinator_enable(self, pool_id: int, enabled: int | bool)
570570
571571 _LOGGER .debug ("Sending SetCHLOREnable with body: %s" , req_body )
572572
573- return await self .async_send (MessageType .SET_CHLOR_ENABLED , req_body )
573+ return await self .async_send (MessageType .SET_CHLOR_ENABLE , req_body )
574574
575575 # This is used to set the ORP target value on a CSAD
576576 async def async_set_csad_orp_target_level (
@@ -596,7 +596,7 @@ async def async_set_csad_orp_target_level(
596596
597597 _LOGGER .debug ("Sending SetUICSADORPTargetLevel with body: %s" , req_body )
598598
599- return await self .async_send (MessageType .SET_CSAD_ORP_TARGET , req_body )
599+ return await self .async_send (MessageType .SET_CSAD_ORP_TARGET_LEVEL , req_body )
600600
601601 # This is used to set the pH target value on a CSAD
602602 async def async_set_csad_ph_target_value (
@@ -665,7 +665,7 @@ async def async_set_chlorinator_params(
665665
666666 _LOGGER .debug ("Sending SetCHLORParams with body: %s" , req_body )
667667
668- return await self .async_send (MessageType .SET_CHLOR_PARAMS , req_body )
668+ return await self .async_send (MessageType .CHLOR_PARAMS_SET , req_body )
669669
670670 async def async_set_chlorinator_superchlorinate (
671671 self ,
@@ -690,7 +690,7 @@ async def async_set_chlorinator_superchlorinate(
690690
691691 _LOGGER .debug ("Sending SetUISuperCHLORCmd with body: %s" , req_body )
692692
693- return await self .async_send (MessageType .SET_SUPERCHLORINATE , req_body )
693+ return await self .async_send (MessageType .CHLOR_SUPER_CHLOR_SET , req_body )
694694
695695 async def async_restore_idle_state (self ) -> None :
696696 body_element = ET .Element ("Request" , {"xmlns" : XML_NAMESPACE })
@@ -747,7 +747,7 @@ async def async_set_spillover(
747747
748748 _LOGGER .debug ("Sending SetUISpilloverCmd with body: %s" , req_body )
749749
750- return await self .async_send (MessageType .SET_SPILLOVER , req_body )
750+ return await self .async_send (MessageType .SET_SPILLOVER_CMD , req_body )
751751
752752 async def async_set_group_enable (
753753 self ,
@@ -790,7 +790,7 @@ async def async_set_group_enable(
790790
791791 _LOGGER .debug ("Sending RunGroupCmd with body: %s" , req_body )
792792
793- return await self .async_send (MessageType .RUN_GROUP_CMD , req_body )
793+ return await self .async_send (MessageType .RUN_GROUP , req_body )
794794
795795 async def async_edit_schedule (
796796 self ,
@@ -863,4 +863,4 @@ async def async_edit_schedule(
863863
864864 _LOGGER .debug ("Sending EditUIScheduleCmd with body: %s" , req_body )
865865
866- return await self .async_send (MessageType .EDIT_SCHEDULE , req_body )
866+ return await self .async_send (MessageType .EDIT_SCHEDULE_CMD , req_body )
0 commit comments