* Pilight daemon expects JSON serializable data. Thus dict is needed and not a mapping proxy. * Add explanation why dict as message data is needed * Use pytest-caplog and no unittest.TestCase