Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting value with Field.FIELD_ACTUATOR_TARGET should correctly trigger Mock Service Events #29

Closed
wba2hi opened this issue Nov 1, 2023 · 0 comments · Fixed by #31
Closed

Comments

@wba2hi
Copy link
Contributor

wba2hi commented Nov 1, 2023

Is your feature request related to a problem? Please describe.
Having the following mock.py

mock_datapoint(
    path="Vehicle.Cabin.HVAC.AmbientAirTemperature",
    initial_value=10,
    behaviors=[
        create_behavior(
            trigger=create_event_trigger(EventType.ACTUATOR_TARGET, "Vehicle.Cabin.HVAC.Station.Row1.Driver.Temperature"),
            action=create_animation_action(
                duration=30.0,
                repeat_mode=RepeatMode.ONCE,
                values=["$self", "$event.value"]
            ),
        ),
    ],
)

When now setting the "Vehicle.Cabin.HVAC.Station.Row1.Driver.Temperature" with the FIELD_ACTUATOR_TARGET it should correctly trigger the event and count up / down to the specified value.

wba2hi added a commit to boschglobal/kuksa-android-sdk that referenced this issue Nov 3, 2023
Closes: eclipse-kuksa#29
Signed-Off-By: Andre Weber <andre.weber3@etas.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant