Skip to content

Unable to change logging level for pyscript #821

Description

@ALERTua

The logs are littered with debug trigger prints for every trigger triggered and skipped. While I like this, it would be nice to have the default logging level as INFO instead of DEBUG and the documented way to change it.

2026-04-13 12:52:11.835 DEBUG (MainThread) [custom_components.pyscript.file.sun_autowindow] Trigger not active due to @time_active(range(13:30, 20:15))
2026-04-13 12:48:41.586 DEBUG (MainThread) [custom_components.pyscript.file.xiaomi_wireless_buttons] trigger file.xiaomi_wireless_buttons.button_2_double got @mqtt_trigger(zigbee2mqtt_slzb/xiaomi_wireless_button_2,payload_obj['action'] == 'double') trigger, running action (kwargs = {'trigger_type': 'mqtt', 'topic': 'zigbee2mqtt_slzb/xiaomi_wireless_button_2', 'payload': '{"action":"double","battery":100,"device":

via #818
ping @dmamelin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions