.. _api.public.TrafficLightState: TrafficLightState ======================== .. currentmodule:: tasi.io .. inheritance-diagram:: tasi.io.TrafficLightState :parts: 1 A `TrafficLightState` represents the state of traffic light entity. Factory methods **************** .. autosummary:: :toctree: api/ TrafficLightState.from_tasi TrafficLightState.model_validate Conversion ************ .. autosummary:: :toctree: api/ TrafficLightState.as_tasi Attributes *********** .. autosummary:: :toctree: api/ TrafficLightState.red TrafficLightState.amber TrafficLightState.green TrafficLightState.unknown TrafficLightState.other