Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 179, in _async_setup_platform

await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)


 "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for

return fut.result()


 "/config/custom_components/alexa_media/sensor.py", line 151, in async_setup_entry

hass, config_entry.data, async_add_devices, discovery_info=None


 "/config/custom_components/alexa_media/helpers.py", line 111, in wrapper

result = await func(*args, **kwargs)


 "/config/custom_components/alexa_media/sensor.py", line 118, in async_setup_platform

account,


 "/config/custom_components/alexa_media/sensor.py", line 467, in __init__

client, n_json, "alarmTime", account, f"next {self._type}", "mdi:reminder"


 "/config/custom_components/alexa_media/sensor.py", line 192, in __init__

self._process_raw_notifications()


 "/config/custom_components/alexa_media/sensor.py", line 200, in _process_raw_notifications

self._all = list(map(self._update_recurring_alarm, self._all))


 "/config/custom_components/alexa_media/sensor.py", line 253, in _update_recurring_alarm

and alarm < dt.now()
TypeError: '<' not supported between instances of 'int' and 'datetime.datetime'

Traceback (most recent call last):


 "D:\python\bert\lib\site-packages\IPython\core\interactiveshell.py", line 2882, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-2-fa40ed00784f>", line 1, in <module>

runfile('D:/jiang/bert/run_classifier.py', args=['--task_name=MRPC', '--do_train=true', '--do_eval=true', '--data_dir=D:/jiang/glue_data/glue_data/MRPC', '--vocab_file=D:/jiang/bert/chinese_L-12_H-768_A-12/vocab.txt', '--bert_config_file=D:/jiang/bert/chinese_L-12_H-768_A-12/bert_config.json', '--init_checkpoint=D:/jiang/bert/chinese_L-12_H-768_A-12/bert_model.ckpt', '--max_seq_length=128', '--train_batch_size=16', '--learning_rate=2e-5', '--num_train_epochs=3.0', '--output_dir=/tmp/mrpc/'], wdir='D:/jiang/bert')


 "D:\program\IntelliJ IDEA\PyCharm\2020.3.3\plugins\python\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars)
# execute the script


 "D:\program\IntelliJ IDEA\PyCharm\2020.3.3\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "D:/jiang/bert/run_classifier.py", line 997, in <module>

tf.app.run()


 "D:\python\bert\lib\site-packages\tensorflow_core\python\platform\app.py", line 40, in run

_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)


 "D:\python\bert\lib\site-packages\absl\app.py", line 303, in run

_run_main(main, args)


 "D:\python\bert\lib\site-packages\absl\app.py", line 251, in _run_main

sys.exit(main(argv))


 "D:\program\IntelliJ IDEA\PyCharm\2020.3.3\plugins\python\helpers\pydev\pydevconsole.py", line 310, in do_exit

os._exit(args[0])
TypeError: an integer is required (got type NoneType)
