async def METHOD_NAME(self):
    self.dps[PRESET_DPS] = "mod_antiforst"
    with self.assertRaisesRegex(
        AttributeError, "temperature cannot be set at this time"
    ):
        await self.subject.async_set_target_temperature(25)