Skip to content

Commit ad17c00

Browse files
committed
Change endpoint
1 parent 66414cd commit ad17c00

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

animatedledstrip/als_http_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def get_full_strip_section(self) -> 'Section':
9999
return self.get_section('fullStrip')
100100

101101
def create_new_section(self, new_section: 'Section') -> 'Section':
102-
return self.decoder.decode_with_type(self._post_data('/sections/newSection', new_section), 'Section')
102+
return self.decoder.decode_with_type(self._post_data('/sections', new_section), 'Section')
103103

104104
def start_animation(self, anim_params: 'AnimationToRunParams') -> 'RunningAnimationParams':
105105
return self.decoder.decode_with_type(self._post_data('/start', anim_params), 'RunningAnimationParams')

animatedledstrip/rotation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self,
3434
self.z_rotation: float = z_rotation
3535

3636
if rotation_order is None:
37-
self.rotation_order = []
37+
self.rotation_order = ['ROTATE_X', 'ROTATE_Z']
3838
else:
3939
self.rotation_order = rotation_order
4040

@@ -61,7 +61,7 @@ def __init__(self,
6161
self.z_rotation: float = z_rotation
6262

6363
if rotation_order is None:
64-
self.rotation_order = []
64+
self.rotation_order = ['ROTATE_X', 'ROTATE_Z']
6565
else:
6666
self.rotation_order = rotation_order
6767

0 commit comments

Comments
 (0)